summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Jarosch <tomj@simonv.com>2011-11-11 16:54:21 +0000
committerThomas Jarosch <tomj@simonv.com>2011-11-11 16:54:21 +0000
commite5ea0b34186cde4cce5183ffd63a3f1c2eaa7e92 (patch)
treef9bbf00d8b91473d4ec6aecc2e686765b689d1ff
parent7c6acd4783b0a1d7145cc03f745b0f331b5debdd (diff)
Fix copy'n'paste bug in skin engine
cppcheckout reported: [apps/gui/skin_engine/skin_tokens.c:1553] -> [apps/gui/skin_engine/skin_tokens.c:1553]: (style) Same expression on both sides of '||'. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30964 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/skin_engine/skin_tokens.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_tokens.c b/apps/gui/skin_engine/skin_tokens.c
index 7c43045c8d..6f154a4d53 100644
--- a/apps/gui/skin_engine/skin_tokens.c
+++ b/apps/gui/skin_engine/skin_tokens.c
@@ -1550,7 +1550,7 @@ const char *get_token_value(struct gui_wps *gwps,
}
}
/* Special handlng for filenames because we dont want to show the prefix */
- if ((s->flags&F_T_MASK) == F_T_UCHARPTR ||
+ if ((s->flags&F_T_MASK) == F_T_CHARPTR ||
(s->flags&F_T_MASK) == F_T_UCHARPTR)
{
if (s->filename_setting->prefix)