diff options
| author | Stéphane Doyon <s.doyon@videotron.ca> | 2008-04-20 14:44:36 +0000 |
|---|---|---|
| committer | Stéphane Doyon <s.doyon@videotron.ca> | 2008-04-20 14:44:36 +0000 |
| commit | 4b5f0909d1854c314ade444316448bda60a60d7e (patch) | |
| tree | 767c5002a1fd27b8b9a727a3a50438a14c975df0 /apps/gui/option_select.c | |
| parent | b2aa86a785ce56daa8ea0550e4dd12bb6884e08c (diff) | |
| download | rockbox-4b5f0909d1854c314ade444316448bda60a60d7e.zip rockbox-4b5f0909d1854c314ade444316448bda60a60d7e.tar.gz rockbox-4b5f0909d1854c314ade444316448bda60a60d7e.tar.bz2 rockbox-4b5f0909d1854c314ade444316448bda60a60d7e.tar.xz | |
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/gui/option_select.c')
| -rw-r--r-- | apps/gui/option_select.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/option_select.c b/apps/gui/option_select.c index d48dd73..e26bab3 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; |