1
0
Fork 0
forked from len0rd/rockbox

Show the name of the setting in the WPS debug output

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22781 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Alexander Levin 2009-09-22 09:44:40 +00:00
parent 6622c605b9
commit 4ce1604ca3

View file

@ -26,6 +26,7 @@
#include "wps.h"
#include "wps_internals.h"
#include "skin_buffer.h"
#include "settings_list.h"
#ifdef __PCTOOL__
#ifdef WPSEDITOR
#include "proxy.h"
@ -457,7 +458,8 @@ static char *get_token_desc(struct wps_token *token, char *buf,
token->value.i);
break;
case WPS_TOKEN_SETTING:
snprintf(buf, bufsize, "Setting value");
snprintf(buf, bufsize, "Setting value: '%s'",
settings[token->value.i].cfg_name);
break;
default:
snprintf(buf, bufsize, "FIXME (code: %d)",