diff options
author | Alexander Levin <al.le@rockbox.org> | 2009-09-22 09:44:40 +0000 |
---|---|---|
committer | Alexander Levin <al.le@rockbox.org> | 2009-09-22 09:44:40 +0000 |
commit | 4ce1604ca36f8f2c5d8c8b607ca9ba2a18e48c70 (patch) | |
tree | 448f3f5c8e3fe68e2aa853a5b7b019e7ebe6c4f3 /apps/gui/skin_engine/wps_debug.c | |
parent | 6622c605b9f2f82444a46e5cb6838386659d1ab7 (diff) |
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
Diffstat (limited to 'apps/gui/skin_engine/wps_debug.c')
-rw-r--r-- | apps/gui/skin_engine/wps_debug.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/wps_debug.c b/apps/gui/skin_engine/wps_debug.c index 9e02d2421c..df96548e9e 100644 --- a/apps/gui/skin_engine/wps_debug.c +++ b/apps/gui/skin_engine/wps_debug.c @@ -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)", |