From 4e8e53b88c7e78e5bac2a778fb1707f25964defd Mon Sep 17 00:00:00 2001 From: jdgordon Date: Tue, 20 Apr 2010 07:17:59 +0000 Subject: [PATCH] really fix "%pv|something else" this time git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25684 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/skin_engine/skin_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index 93c5c7321..6495c4392 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c @@ -1179,7 +1179,7 @@ static int parse_progressbar(const char *wps_bufptr, /* if we are in a conditional then we probably don't want to fail * if the above doesnt work. so ASSume the | is breaking the conditional * and move on. the next token will fail if this is incorrect */ - if (level > 0) + if (level >= 0) return 0; return WPS_ERROR_INVALID_PARAM; } -- 2.11.4.GIT