From dab7e161767f951a55d6fbc0988fae5f3d9df474 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Tue, 18 Aug 2009 07:17:51 +0000 Subject: 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 --- apps/gui/skin_engine/wps_debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/gui/skin_engine/wps_debug.c') diff --git a/apps/gui/skin_engine/wps_debug.c b/apps/gui/skin_engine/wps_debug.c index e3e6e960e6..60f53b83f4 100644 --- a/apps/gui/skin_engine/wps_debug.c +++ b/apps/gui/skin_engine/wps_debug.c @@ -113,8 +113,8 @@ static char *get_token_desc(struct wps_token *token, struct wps_data *data, break; case WPS_TOKEN_IMAGE_PRELOAD_DISPLAY: - snprintf(buf, bufsize, "display preloaded image %d", - token->value.i); + snprintf(buf, bufsize, "display preloaded image '%c'", + token->value.i&0xFF); break; case WPS_TOKEN_IMAGE_DISPLAY: -- cgit v1.2.3