Fix formatting of icon path for global installation 40/37240/1 accepted/tizen/common/20150331.085035 accepted/tizen/mobile/20150404.084443 accepted/tizen/tv/20150404.082819 accepted/tizen/wearable/20150404.083341 submit/tizen_common/20150330.150902 submit/tizen_mobile/20150403.045347 submit/tizen_tv/20150403.045347 submit/tizen_wearable/20150403.045347
authorTomasz Iwanek <t.iwanek@samsung.com>
Fri, 20 Mar 2015 13:23:41 +0000 (14:23 +0100)
committerTomasz Iwanek <t.iwanek@samsung.com>
Fri, 20 Mar 2015 13:30:58 +0000 (14:30 +0100)
Change-Id: Iffe87b566fb1090132bb96abc81c46a806fd4e74

parser/pkgmgr_parser.c

index b3cc05f..9a5f239 100644 (file)
@@ -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");
                        }