From e9584e8f80ca29e689bd13b937169d5856633c86 Mon Sep 17 00:00:00 2001 From: Tomasz Iwanek Date: Fri, 20 Mar 2015 14:23:41 +0100 Subject: [PATCH] Fix formatting of icon path for global installation Change-Id: Iffe87b566fb1090132bb96abc81c46a806fd4e74 --- parser/pkgmgr_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } -- 2.7.4