From 0aa035d73e20af65bb77798d3ada44af405507f1 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Thu, 29 Oct 2009 03:27:13 +0000 Subject: * 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 --- apps/gui/skin_engine/wps_debug.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'apps/gui/skin_engine') 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; -- cgit v1.2.3