projects
/
platform
/
core
/
appfw
/
pkgmgr-info.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a03c9e
)
Fix parsing icon path
28/44728/1
author
Sangyoon Jang
<s89.jang@samsung.com>
Mon, 27 Jul 2015 06:53:38 +0000
(15:53 +0900)
committer
Sangyoon Jang
<s89.jang@samsung.com>
Mon, 27 Jul 2015 06:53:38 +0000
(15:53 +0900)
Change-Id: I472c934f73b85b43ccc84437aeb5f11f5ebb3299
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
parser/pkgmgr_parser.c
patch
|
blob
|
history
diff --git
a/parser/pkgmgr_parser.c
b/parser/pkgmgr_parser.c
index
585c6de
..
fc0bf7a
100644
(file)
--- a/
parser/pkgmgr_parser.c
+++ b/
parser/pkgmgr_parser.c
@@
-2514,7
+2514,7
@@
static char *__get_icon_with_path(const char * icon, uid_t uid)
}
memset(icon_with_path, 0, len);
- if (uid != GLOBAL_USER)
+ if (uid != GLOBAL_USER
&& uid != OWNER_ROOT
)
snprintf(icon_with_path, len, "%s%s", getIconPath(uid), icon);
else {
snprintf(icon_with_path, len, "%s%s/small/%s", getIconPath(GLOBAL_USER), theme, icon);