summaryrefslogtreecommitdiffstats
path: root/apps/gui/skin_engine/wps_debug.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-09-18 05:22:22 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-09-18 05:22:22 +0000
commit6d16d1cf3d327fa19745b8ae921d58381fbee0f6 (patch)
tree6a0f560972badf7009be1c8092c5041c9315f431 /apps/gui/skin_engine/wps_debug.c
parentaafeaad65f3e3921cdb16e30098422f2afd84146 (diff)
downloadrockbox-6d16d1cf3d327fa19745b8ae921d58381fbee0f6.tar.gz
rockbox-6d16d1cf3d327fa19745b8ae921d58381fbee0f6.zip
FS#10602 - show the viewport label instead of an int in the debug output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22727 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine/wps_debug.c')
-rw-r--r--apps/gui/skin_engine/wps_debug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/gui/skin_engine/wps_debug.c b/apps/gui/skin_engine/wps_debug.c
index f23dd692f8..d4393d1090 100644
--- a/apps/gui/skin_engine/wps_debug.c
+++ b/apps/gui/skin_engine/wps_debug.c
@@ -449,11 +449,11 @@ static char *get_token_desc(struct wps_token *token, char *buf,
break;
#endif
case WPS_VIEWPORT_ENABLE:
- snprintf(buf, bufsize, "enable VP:%d",
- token->value.i);
+ snprintf(buf, bufsize, "enable VP: %c",
+ (char)token->value.i);
break;
case WPS_TOKEN_BUTTON_VOLUME:
- snprintf(buf, bufsize, "Volume button timeout:%d",
+ snprintf(buf, bufsize, "Volume button timeout: %d",
token->value.i);
break;
default: