summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine/skin_tokens.c
diff options
context:
space:
mode:
authorJeffrey Goode <jeffg7@gmail.com>2009-11-11 17:38:00 +0000
committerJeffrey Goode <jeffg7@gmail.com>2009-11-11 17:38:00 +0000
commit0212de4c8d67337ccae180d52f09c26c236b256a (patch)
tree52ac05f3124441d06dfe6d60e307143416e6c5f0 /apps/gui/skin_engine/skin_tokens.c
parent35202026cbe6a77adbccbd7f59f7b69dafa2f3b2 (diff)
Add crossfade feature tag, update manual, fix crossfade WPS tag behavior
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23610 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine/skin_tokens.c')
-rw-r--r--apps/gui/skin_engine/skin_tokens.c4
1 files changed, 2 insertions, 2 deletions
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,
if (intval)
*intval = global_settings.crossfade + 1;
snprintf(buf, buf_size, "%d", global_settings.crossfade);
- return buf;
#else
- return NULL;
+ snprintf(buf, buf_size, "%d", 0);
#endif
+ return buf;
case WPS_TOKEN_REPLAYGAIN:
{