diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-11-30 12:27:52 +0000 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-12-04 11:19:57 -0500 |
commit | 1e6c8d2ea684e8a8e7a5f2cc08858c2ba2c15387 (patch) | |
tree | 5be985909f1c985f6f433d8934c92ad91f6aa0d4 /apps/gui/skin_engine/skin_display.c | |
parent | 4ff97ae07c9b7beed4c8c9bf965e2ba679d05a20 (diff) | |
download | rockbox-1e6c8d2ea684e8a8e7a5f2cc08858c2ba2c15387.tar.gz rockbox-1e6c8d2ea684e8a8e7a5f2cc08858c2ba2c15387.zip |
skin engine: Settings ID to pointer conversions
Convert %St tag to operate on settings pointers instead of IDs.
Change-Id: Iabf4c280be82b495a64b560b59620fb477e0c738
Diffstat (limited to 'apps/gui/skin_engine/skin_display.c')
-rw-r--r-- | apps/gui/skin_engine/skin_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_display.c b/apps/gui/skin_engine/skin_display.c index 43337049fd..9cc9e8c74d 100644 --- a/apps/gui/skin_engine/skin_display.c +++ b/apps/gui/skin_engine/skin_display.c | |||
@@ -212,7 +212,7 @@ void draw_progressbar(struct gui_wps *gwps, struct skin_viewport* skin_viewport, | |||
212 | else if (pb->type == SKIN_TOKEN_SETTINGBAR) | 212 | else if (pb->type == SKIN_TOKEN_SETTINGBAR) |
213 | { | 213 | { |
214 | int val, count; | 214 | int val, count; |
215 | get_setting_info_for_bar(pb->setting_id, &count, &val); | 215 | get_setting_info_for_bar(pb->setting, &count, &val); |
216 | length = count - 1; | 216 | length = count - 1; |
217 | end = val; | 217 | end = val; |
218 | } | 218 | } |