summaryrefslogtreecommitdiffstats
path: root/apps/gui/skin_engine/wps_debug.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-10-29 03:27:13 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-10-29 03:27:13 +0000
commit0aa035d73e20af65bb77798d3ada44af405507f1 (patch)
treedcdf47da2499896cbf1a9801cfa531c59f704fff /apps/gui/skin_engine/wps_debug.c
parentc4079e0b12bcef176fc8eaaa6ef17b465e15b730 (diff)
downloadrockbox-0aa035d73e20af65bb77798d3ada44af405507f1.tar.gz
rockbox-0aa035d73e20af65bb77798d3ada44af405507f1.zip
* code police on a macro which has no reason for being
* add the TOKEN_RTC_PRESENT value to the skin debugger listing * Allow the width and height of a viewport to be negative values (so width -50 means extend to 50pixels inside from the right edge) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23393 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine/wps_debug.c')
-rw-r--r--apps/gui/skin_engine/wps_debug.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/wps_debug.c b/apps/gui/skin_engine/wps_debug.c
index e06ce00219..86f929ad23 100644
--- a/apps/gui/skin_engine/wps_debug.c
+++ b/apps/gui/skin_engine/wps_debug.c
@@ -159,7 +159,10 @@ static char *get_token_desc(struct wps_token *token, char *buf,
case WPS_TOKEN_PLAYBACK_STATUS:
snprintf(buf, bufsize, "mode playback");
break;
-
+
+ case WPS_TOKEN_RTC_PRESENT:
+ snprintf(buf, bufsize, "rtc: present?");
+ break;
case WPS_TOKEN_RTC_DAY_OF_MONTH:
snprintf(buf, bufsize, "rtc: day of month (01..31)");
break;