diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-10-29 03:27:13 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-10-29 03:27:13 +0000 |
commit | 0aa035d73e20af65bb77798d3ada44af405507f1 (patch) | |
tree | dcdf47da2499896cbf1a9801cfa531c59f704fff /apps/gui/skin_engine/wps_debug.c | |
parent | c4079e0b12bcef176fc8eaaa6ef17b465e15b730 (diff) | |
download | rockbox-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.c | 5 |
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, | |||
159 | case WPS_TOKEN_PLAYBACK_STATUS: | 159 | case WPS_TOKEN_PLAYBACK_STATUS: |
160 | snprintf(buf, bufsize, "mode playback"); | 160 | snprintf(buf, bufsize, "mode playback"); |
161 | break; | 161 | break; |
162 | 162 | ||
163 | case WPS_TOKEN_RTC_PRESENT: | ||
164 | snprintf(buf, bufsize, "rtc: present?"); | ||
165 | break; | ||
163 | case WPS_TOKEN_RTC_DAY_OF_MONTH: | 166 | case WPS_TOKEN_RTC_DAY_OF_MONTH: |
164 | snprintf(buf, bufsize, "rtc: day of month (01..31)"); | 167 | snprintf(buf, bufsize, "rtc: day of month (01..31)"); |
165 | break; | 168 | break; |