summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Levin <al.le@rockbox.org>2009-09-22 09:44:40 +0000
committerAlexander Levin <al.le@rockbox.org>2009-09-22 09:44:40 +0000
commit4ce1604ca36f8f2c5d8c8b607ca9ba2a18e48c70 (patch)
tree448f3f5c8e3fe68e2aa853a5b7b019e7ebe6c4f3
parent6622c605b9f2f82444a46e5cb6838386659d1ab7 (diff)
downloadrockbox-4ce1604ca36f8f2c5d8c8b607ca9ba2a18e48c70.tar.gz
rockbox-4ce1604ca36f8f2c5d8c8b607ca9ba2a18e48c70.zip
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
-rw-r--r--apps/gui/skin_engine/wps_debug.c4
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 @@
26#include "wps.h" 26#include "wps.h"
27#include "wps_internals.h" 27#include "wps_internals.h"
28#include "skin_buffer.h" 28#include "skin_buffer.h"
29#include "settings_list.h"
29#ifdef __PCTOOL__ 30#ifdef __PCTOOL__
30#ifdef WPSEDITOR 31#ifdef WPSEDITOR
31#include "proxy.h" 32#include "proxy.h"
@@ -457,7 +458,8 @@ static char *get_token_desc(struct wps_token *token, char *buf,
457 token->value.i); 458 token->value.i);
458 break; 459 break;
459 case WPS_TOKEN_SETTING: 460 case WPS_TOKEN_SETTING:
460 snprintf(buf, bufsize, "Setting value"); 461 snprintf(buf, bufsize, "Setting value: '%s'",
462 settings[token->value.i].cfg_name);
461 break; 463 break;
462 default: 464 default:
463 snprintf(buf, bufsize, "FIXME (code: %d)", 465 snprintf(buf, bufsize, "FIXME (code: %d)",