summaryrefslogtreecommitdiff
path: root/apps/gui
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2009-01-03 12:48:06 +0000
committerNils Wallménius <nils@rockbox.org>2009-01-03 12:48:06 +0000
commit3681ff197d3cf5393df3d56d7b6f7b39af0fc47f (patch)
tree057abedb9b45425c53e27739b3c228a6148ab456 /apps/gui
parentd14f79dc7b4888b345ec2b71c36ca432d23c5711 (diff)
downloadrockbox-3681ff197d3cf5393df3d56d7b6f7b39af0fc47f.zip
rockbox-3681ff197d3cf5393df3d56d7b6f7b39af0fc47f.tar.gz
rockbox-3681ff197d3cf5393df3d56d7b6f7b39af0fc47f.tar.bz2
rockbox-3681ff197d3cf5393df3d56d7b6f7b39af0fc47f.tar.xz
Reorder of user_settings, cleaned out some unused settings grouped settings depending on the same preprocessor defines together a bit more to make it more readable, updated some comments. Plugin api bump and the wps token for 12/24 hour clock setting is now excluded for non rtc targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19655 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui')
-rw-r--r--apps/gui/gwps-common.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c
index 5e134b5..2b1d641 100644
--- a/apps/gui/gwps-common.c
+++ b/apps/gui/gwps-common.c
@@ -1147,12 +1147,13 @@ static const char *get_token_value(struct gui_wps *gwps,
*intval = global_settings.repeat_mode + 1;
snprintf(buf, buf_size, "%d", global_settings.repeat_mode);
return buf;
+#if CONFIG_RTC
case WPS_TOKEN_RTC_12HOUR_CFG:
if (intval)
*intval = global_settings.timeformat + 1;
snprintf(buf, buf_size, "%d", global_settings.timeformat);
return buf;
-#if CONFIG_RTC
+
case WPS_TOKEN_RTC_DAY_OF_MONTH:
/* d: day of month (01..31) */
snprintf(buf, buf_size, "%02d", tm->tm_mday);