From 483c87a04d3be8be31034a508676e51a423402c4 Mon Sep 17 00:00:00 2001 From: Nicolas Pennequin Date: Sun, 15 Apr 2007 03:26:26 +0000 Subject: Oops, the condition was wrong. Sorry about that :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13163 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/gwps-common.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index b4a2cf9596..5b06dd4b2b 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. */ -- cgit v1.2.3