Backport r30964 - 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/branches/v3_10@31123 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Jarosch 2011-12-03 16:55:04 +00:00
parent 3e58faddf7
commit dbcd21f3b5

View file

@ -1557,7 +1557,7 @@ const char *get_token_value(struct gui_wps *gwps,
} }
} }
/* Special handlng for filenames because we dont want to show the prefix */ /* 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) (s->flags&F_T_MASK) == F_T_UCHARPTR)
{ {
if (s->filename_setting->prefix) if (s->filename_setting->prefix)