diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-11-01 21:35:35 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-11-01 21:35:35 +0000 |
commit | cb8527d073cccbf044330c60d41aec50ca2536b5 (patch) | |
tree | 4b85e20e784b83e292012b1c91442a66206fc802 /apps/gui/skin_engine/skin_tokens.c | |
parent | e8eefe98bfd3768a9f3962bc71f0ee0431bae8b1 (diff) | |
download | rockbox-cb8527d073cccbf044330c60d41aec50ca2536b5.tar.gz rockbox-cb8527d073cccbf044330c60d41aec50ca2536b5.zip |
new skin token: %cx - 24 hour time format enabled in the setting.. e.g %?cx<24 hour|12 hour>
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23472 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine/skin_tokens.c')
-rw-r--r-- | apps/gui/skin_engine/skin_tokens.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_tokens.c b/apps/gui/skin_engine/skin_tokens.c index 46adbdc097..6dbceca906 100644 --- a/apps/gui/skin_engine/skin_tokens.c +++ b/apps/gui/skin_engine/skin_tokens.c | |||
@@ -569,6 +569,12 @@ const char *get_token_value(struct gui_wps *gwps, | |||
569 | #else | 569 | #else |
570 | return NULL; | 570 | return NULL; |
571 | #endif | 571 | #endif |
572 | case WPS_TOKEN_RTC_24HR_SETTING_MODE: | ||
573 | #if CONFIG_RTC | ||
574 | return global_settings.timeformat?NULL:"z"; | ||
575 | #else | ||
576 | return NULL; | ||
577 | #endif | ||
572 | 578 | ||
573 | #if CONFIG_RTC | 579 | #if CONFIG_RTC |
574 | case WPS_TOKEN_RTC_12HOUR_CFG: | 580 | case WPS_TOKEN_RTC_12HOUR_CFG: |