summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorStéphane Doyon <s.doyon@videotron.ca>2008-04-20 14:44:36 +0000
committerStéphane Doyon <s.doyon@videotron.ca>2008-04-20 14:44:36 +0000
commit4b5f0909d1854c314ade444316448bda60a60d7e (patch)
tree767c5002a1fd27b8b9a727a3a50438a14c975df0 /apps
parentb2aa86a785ce56daa8ea0550e4dd12bb6884e08c (diff)
downloadrockbox-4b5f0909d1854c314ade444316448bda60a60d7e.tar.gz
rockbox-4b5f0909d1854c314ade444316448bda60a60d7e.zip
Fix bug in r17188.
The warning from the build page was valid and helpful, wish my compiler had given it to me... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17189 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/option_select.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/option_select.c b/apps/gui/option_select.c
index d48dd732cd..e26bab3b82 100644
--- a/apps/gui/option_select.c
+++ b/apps/gui/option_select.c
@@ -378,7 +378,7 @@ static void val_to_selection(struct settings_list *setting, int oldvalue,
table_setting_oldval = oldvalue;
table_setting_array_position = i;
*selected = i;
- *nb_items++;
+ (*nb_items)++;
}
else if (oldvalue == info->values[i])
*selected = i;