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:
parent
6622c605b9
commit
4ce1604ca3
1 changed files with 3 additions and 1 deletions
|
|
@ -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)",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue