diff options
| author | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-04-15 03:26:26 +0000 |
|---|---|---|
| committer | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-04-15 03:26:26 +0000 |
| commit | 483c87a04d3be8be31034a508676e51a423402c4 (patch) | |
| tree | 293e68231e3ce50b1006f92f623d1a6859f7ca15 | |
| parent | 2e1169bddaa424ae5eef36e2ec12e2a3cb0adc68 (diff) | |
| download | rockbox-483c87a04d3be8be31034a508676e51a423402c4.zip rockbox-483c87a04d3be8be31034a508676e51a423402c4.tar.gz rockbox-483c87a04d3be8be31034a508676e51a423402c4.tar.bz2 rockbox-483c87a04d3be8be31034a508676e51a423402c4.tar.xz | |
Oops, the condition was wrong. Sorry about that :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13163 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/gui/gwps-common.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index b4a2cf9..5b06dd4 100644 --- a/apps/gui/gwps-common.c +++ b/apps/gui/gwps-common.c @@ -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. */ |