summaryrefslogtreecommitdiffstats
path: root/apps/gui/skin_engine/wps_debug.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2011-03-07 12:45:45 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2011-03-07 12:45:45 +0000
commit343001b5f86f61a48b8520c9a1eb2790f50a8b27 (patch)
treebc1cf0e7451adb10668e9c1cff90e76cbbf55e3d /apps/gui/skin_engine/wps_debug.c
parent4cc2cc430c026ce59d089f76c678202d977bad37 (diff)
downloadrockbox-343001b5f86f61a48b8520c9a1eb2790f50a8b27.tar.gz
rockbox-343001b5f86f61a48b8520c9a1eb2790f50a8b27.zip
Merge a bunch of code which is 99% identical so it makes it easier to add more of these later
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29535 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine/wps_debug.c')
-rw-r--r--apps/gui/skin_engine/wps_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/wps_debug.c b/apps/gui/skin_engine/wps_debug.c
index 2ab7e5ab4e..7f74105c66 100644
--- a/apps/gui/skin_engine/wps_debug.c
+++ b/apps/gui/skin_engine/wps_debug.c
@@ -156,7 +156,7 @@ static char *get_token_desc(struct wps_token *token, char *buf,
{
char subimage = '\0';
char label = token->value.i&0xFF;
- struct gui_img *img = find_image(label, data);
+ struct gui_img *img = skin_find_item(label, SKIN_FIND_IMAGE, data);
if (img && img->num_subimages > 1)
{
int item = token->value.i>>8;