store the image label instead of a number so debug output is actually useful when %xd is used witout a coresponding %xl

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22404 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2009-08-18 07:17:51 +00:00
parent 36ca4967e0
commit dab7e16176
4 changed files with 16 additions and 22 deletions

View file

@ -77,7 +77,7 @@
#ifdef HAVE_LCD_BITMAP
struct gui_img {
short int id;
char label;
struct bitmap bm;
struct viewport* vp; /* The viewport to display this image in */
short int x; /* x-pos */
@ -346,7 +346,7 @@ const char *get_token_value(struct gui_wps *gwps,
struct gui_img* find_image(int n, struct wps_data *data);
struct gui_img* find_image(char label, struct wps_data *data);
struct skin_viewport* find_viewport(char label, struct wps_data *data);
#endif