1
0
Fork 0
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:
Nicolas Pennequin 2007-04-15 03:26:26 +00:00
parent 2e1169bdda
commit 483c87a04d

View file

@ -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. */