really fix "%pv|something else" this time
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25684 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0d824d2b59
commit
34cd2c31ae
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue