forked from len0rd/rockbox
Oops, the condition was wrong. Sorry about that :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13163 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2e1169bdda
commit
483c87a04d
1 changed files with 1 additions and 2 deletions
|
@ -1279,8 +1279,7 @@ static int find_conditional_end(struct wps_data *data, int index)
|
|||
}
|
||||
|
||||
int ret = index;
|
||||
while (data->tokens[ret].value.i != 0
|
||||
&& data->tokens[data->tokens[ret].value.i].type != WPS_TOKEN_CONDITIONAL_END)
|
||||
while (data->tokens[ret].type != WPS_TOKEN_CONDITIONAL_END)
|
||||
ret = data->tokens[ret].value.i;
|
||||
|
||||
/* ret now is the index to the end token for the conditional. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue