mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 21:25:19 -05:00
Make %mm 0-based again (as described in CustomWPS), and change %cf accordingly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18421 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
939459e10e
commit
e0646947c9
1 changed files with 2 additions and 2 deletions
|
|
@ -1138,12 +1138,12 @@ static char *get_token_value(struct gui_wps *gwps,
|
|||
case WPS_TOKEN_REPEAT_MODE:
|
||||
if (intval)
|
||||
*intval = global_settings.repeat_mode + 1;
|
||||
snprintf(buf, buf_size, "%d", global_settings.repeat_mode + 1);
|
||||
snprintf(buf, buf_size, "%d", global_settings.repeat_mode);
|
||||
return buf;
|
||||
case WPS_TOKEN_RTC_12HOUR_CFG:
|
||||
if (intval)
|
||||
*intval = global_settings.timeformat + 1;
|
||||
snprintf(buf, buf_size, "%d", global_settings.timeformat + 1);
|
||||
snprintf(buf, buf_size, "%d", global_settings.timeformat);
|
||||
return buf;
|
||||
#if CONFIG_RTC
|
||||
case WPS_TOKEN_RTC_DAY_OF_MONTH:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue