summaryrefslogtreecommitdiffstats
path: root/apps/gui/list.h
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2012-02-21 14:33:42 +0100
committerFrank Gevaerts <frank@gevaerts.be>2012-02-22 01:15:42 +0100
commit680c6fcde1eabb45dd12c59718d708b2cda61f6a (patch)
tree6dbb5ff39f5ade24a079c84114cea40a29d3ab67 /apps/gui/list.h
parenta16b65e47d2a972c4fee955647439d22bdb8ce11 (diff)
downloadrockbox-680c6fcde1eabb45dd12c59718d708b2cda61f6a.tar.gz
rockbox-680c6fcde1eabb45dd12c59718d708b2cda61f6a.zip
Store listitem_viewport_cfg->label as skinoffset instead of raw pointer
This fixes the case where some blocks got relocated and the skin render code couldn't find the matching viewports any more. Change-Id: I4394444fb139ee5bc986f374dba82a104013e354 Reviewed-on: http://gerrit.rockbox.org/112 Reviewed-by: Frank Gevaerts <frank@gevaerts.be>
Diffstat (limited to 'apps/gui/list.h')
-rw-r--r--apps/gui/list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/list.h b/apps/gui/list.h
index d9df008956..41bc4369d1 100644
--- a/apps/gui/list.h
+++ b/apps/gui/list.h
@@ -180,7 +180,7 @@ extern bool gui_synclist_do_button(struct gui_synclist * lists,
#if defined(HAVE_LCD_BITMAP) && !defined(PLUGIN)
struct listitem_viewport_cfg {
struct wps_data *data;
- char* label;
+ OFFSETTYPE(char *) label;
int width;
int height;
int xmargin;