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
This commit is contained in:
Jonathan Gordon 2009-09-18 05:22:22 +00:00
parent aafeaad65f
commit 6d16d1cf3d

View file

@ -449,11 +449,11 @@ static char *get_token_desc(struct wps_token *token, char *buf,
break; break;
#endif #endif
case WPS_VIEWPORT_ENABLE: case WPS_VIEWPORT_ENABLE:
snprintf(buf, bufsize, "enable VP:%d", snprintf(buf, bufsize, "enable VP: %c",
token->value.i); (char)token->value.i);
break; break;
case WPS_TOKEN_BUTTON_VOLUME: case WPS_TOKEN_BUTTON_VOLUME:
snprintf(buf, bufsize, "Volume button timeout:%d", snprintf(buf, bufsize, "Volume button timeout: %d",
token->value.i); token->value.i);
break; break;
default: default: