mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Fix get_token_value from 7288d9e
Change-Id: I3d1b2fc37c0baa1cb178215889bf91808ba4287f
This commit is contained in:
parent
27c5db15e3
commit
c67294913f
1 changed files with 1 additions and 1 deletions
|
@ -1447,7 +1447,7 @@ const char *get_token_value(struct gui_wps *gwps,
|
||||||
* on 16 bits ...
|
* on 16 bits ...
|
||||||
* but this is pretty useless anyway */
|
* but this is pretty useless anyway */
|
||||||
numeric_ret = *(int*)s->setting + 1;
|
numeric_ret = *(int*)s->setting + 1;
|
||||||
else if (setting_get_cfgvals(s->setting) == NULL)
|
else if (setting_get_cfgvals(s) == NULL)
|
||||||
/* %?St|name|<1st choice|2nd choice|...> */
|
/* %?St|name|<1st choice|2nd choice|...> */
|
||||||
numeric_ret = (*(int*)s->setting-s->int_setting->min)
|
numeric_ret = (*(int*)s->setting-s->int_setting->min)
|
||||||
/s->int_setting->step + 1;
|
/s->int_setting->step + 1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue