summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/gui/skin_engine/skin_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c
index 93c5c73..6495c43 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;
}