From: Tomasz Iwanek Date: Fri, 20 Mar 2015 13:23:41 +0000 (+0100) Subject: Fix formatting of icon path for global installation X-Git-Tag: accepted/tizen/common/20150331.085035^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F40%2F37240%2F1;p=platform%2Fcore%2Fappfw%2Fpkgmgr-info.git Fix formatting of icon path for global installation Change-Id: Iffe87b566fb1090132bb96abc81c46a806fd4e74 --- diff --git a/parser/pkgmgr_parser.c b/parser/pkgmgr_parser.c index b3cc05f..9a5f239 100644 --- a/parser/pkgmgr_parser.c +++ b/parser/pkgmgr_parser.c @@ -3075,7 +3075,7 @@ __get_icon_with_path(const char* icon, uid_t uid) if (access (icon_with_path, F_OK)) { //If doesn't exist in case of Global app, try to get icon directly into app's directory app_path = tzplatform_getenv(TZ_SYS_RW_APP); if (app_path) - snprintf( len, icon_with_path, "%s/%q/res/icons/%q/small/%q", app_path , package, theme, icon); + snprintf(icon_with_path, len, "%s/%q/res/icons/%q/small/%q", app_path, package, theme, icon); if (access (icon_with_path, F_OK)) _LOGE("Cannot find icon path"); }