summaryrefslogtreecommitdiffstats
path: root/apps/gui/skin_engine/skin_tokens.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/skin_engine/skin_tokens.c')
-rw-r--r--apps/gui/skin_engine/skin_tokens.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/gui/skin_engine/skin_tokens.c b/apps/gui/skin_engine/skin_tokens.c
index c07d4cf2df..cbf732fe10 100644
--- a/apps/gui/skin_engine/skin_tokens.c
+++ b/apps/gui/skin_engine/skin_tokens.c
@@ -540,9 +540,11 @@ const char *get_radio_token(struct wps_token *token, int preset_offset,
#ifdef HAVE_RDS_CAP
return "rds";
case SKIN_TOKEN_RDS_NAME:
- return tuner_get_rds_info(RADIO_RDS_NAME);
+ tuner_get_rds_info(RADIO_RDS_NAME, buf, buf_size);
+ return buf;
case SKIN_TOKEN_RDS_TEXT:
- return tuner_get_rds_info(RADIO_RDS_TEXT);
+ tuner_get_rds_info(RADIO_RDS_TEXT, buf, buf_size);
+ return buf;
#else
return NULL; /* end of the SKIN_TOKEN_HAVE_RDS case */
#endif /* HAVE_RDS_CAP */