Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

[Bugfix] RTC_TOKEN_PRESENT is less than SKIN_TOKENS_RTC_BEGIN

this blocks the check for RTC_TOKEN_PRESENT

thanks, chris_s

Change-Id: I53a7d83d7cd8e5e9b9d6ea6eed016dc35571bcd3

+8 -4
+8 -4
apps/gui/skin_engine/skin_tokens.c
··· 775 775 default: 776 776 return "?"; 777 777 778 - case SKIN_TOKEN_RTC_PRESENT: 779 - return "c"; 778 + 780 779 case SKIN_TOKEN_RTC_12HOUR_CFG: 781 780 snprintf(buf, buf_size, "%d", global_settings.timeformat); 782 781 numeric_ret = global_settings.timeformat + 1; ··· 894 893 { 895 894 default: 896 895 return "?"; 897 - case SKIN_TOKEN_RTC_PRESENT: 898 - return NULL; 896 + 899 897 case SKIN_TOKEN_RTC_DAY_OF_MONTH: 900 898 case SKIN_TOKEN_RTC_DAY_OF_MONTH_BLANK_PADDED: 901 899 case SKIN_TOKEN_RTC_HOUR_24_ZERO_PADDED: ··· 1350 1348 numeric_buf = buf; 1351 1349 goto gtv_ret_numeric_tag_info; 1352 1350 1351 + case SKIN_TOKEN_RTC_PRESENT: 1352 + #if CONFIG_RTC 1353 + return "c"; 1354 + #else 1355 + return NULL; 1356 + #endif 1353 1357 /* peakmeter */ 1354 1358 case SKIN_TOKEN_PEAKMETER_LEFT: 1355 1359 case SKIN_TOKEN_PEAKMETER_RIGHT: