diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2024-11-11 08:21:12 +0100 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2024-11-11 08:21:12 +0100 |
commit | c67294913fefa15dddfbde0b0a7cd09da8863aa8 (patch) | |
tree | 9ba95be493b98965223a879d3972cbed70aaf402 | |
parent | 27c5db15e39f6f310f7858566ba89e1cdfec591f (diff) | |
download | rockbox-c67294913f.tar.gz rockbox-c67294913f.zip |
Fix get_token_value from 7288d9e
Change-Id: I3d1b2fc37c0baa1cb178215889bf91808ba4287f
-rw-r--r-- | apps/gui/skin_engine/skin_tokens.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_tokens.c b/apps/gui/skin_engine/skin_tokens.c index 6cfb1b6102..3e2d1efa83 100644 --- a/apps/gui/skin_engine/skin_tokens.c +++ b/apps/gui/skin_engine/skin_tokens.c @@ -1447,7 +1447,7 @@ const char *get_token_value(struct gui_wps *gwps, * on 16 bits ... * but this is pretty useless anyway */ 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|...> */ numeric_ret = (*(int*)s->setting-s->int_setting->min) /s->int_setting->step + 1; |