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
This commit is contained in:
parent
b2aa86a785
commit
4b5f0909d1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue