mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
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:
parent
36ca4967e0
commit
dab7e16176
4 changed files with 16 additions and 22 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue