From: Hwankyu Jhun Date: Wed, 8 Mar 2017 01:55:05 +0000 (+0900) Subject: Fix the exception about checking locale dir X-Git-Tag: accepted/tizen/common/20170309.175037~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F74%2F117874%2F2;p=platform%2Fcore%2Fappfw%2Fapp-core.git Fix the exception about checking locale dir Even though the locale directory doesn't exist, the appcore should call the bindtextdomain. Change-Id: I540ba74d8cc67c65c2347957e14937c86260304a Signed-off-by: Hwankyu Jhun --- diff --git a/src/base/appcore_base.c b/src/base/appcore_base.c index 305c065..58aef2f 100644 --- a/src/base/appcore_base.c +++ b/src/base/appcore_base.c @@ -589,7 +589,7 @@ static int __get_locale_resource_dir(char *locale_dir, int size) snprintf(locale_dir, size, "%s" PATH_LOCALE, res_path); if (access(locale_dir, R_OK) != 0) - return -1; + _DBG("%s does not exist", locale_dir); return 0; }