summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/features.txt4
-rw-r--r--apps/gui/skin_engine/skin_tokens.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/apps/features.txt b/apps/features.txt
index 14204dfb6d..d3e433ad45 100644
--- a/apps/features.txt
+++ b/apps/features.txt
@@ -42,6 +42,10 @@ button_light
42buttonlight_brightness 42buttonlight_brightness
43#endif 43#endif
44 44
45#if defined(HAVE_CROSSFADE)
46crossfade
47#endif
48
45#if defined(HAVE_DIRCACHE) 49#if defined(HAVE_DIRCACHE)
46dircache 50dircache
47#endif 51#endif
diff --git a/apps/gui/skin_engine/skin_tokens.c b/apps/gui/skin_engine/skin_tokens.c
index a456bbca23..d4adfa8c85 100644
--- a/apps/gui/skin_engine/skin_tokens.c
+++ b/apps/gui/skin_engine/skin_tokens.c
@@ -770,10 +770,10 @@ const char *get_token_value(struct gui_wps *gwps,
770 if (intval) 770 if (intval)
771 *intval = global_settings.crossfade + 1; 771 *intval = global_settings.crossfade + 1;
772 snprintf(buf, buf_size, "%d", global_settings.crossfade); 772 snprintf(buf, buf_size, "%d", global_settings.crossfade);
773 return buf;
774#else 773#else
775 return NULL; 774 snprintf(buf, buf_size, "%d", 0);
776#endif 775#endif
776 return buf;
777 777
778 case WPS_TOKEN_REPLAYGAIN: 778 case WPS_TOKEN_REPLAYGAIN:
779 { 779 {