diff options
Diffstat (limited to 'apps/gui')
-rw-r--r-- | apps/gui/skin_engine/skin_tokens.c | 2 | ||||
-rw-r--r-- | apps/gui/usb_screen.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_tokens.c b/apps/gui/skin_engine/skin_tokens.c index 6e5a2eae85..20206f0114 100644 --- a/apps/gui/skin_engine/skin_tokens.c +++ b/apps/gui/skin_engine/skin_tokens.c | |||
@@ -1079,7 +1079,7 @@ const char *get_token_value(struct gui_wps *gwps, | |||
1079 | #endif /* HAVE_SPDIF_IN */ | 1079 | #endif /* HAVE_SPDIF_IN */ |
1080 | if (intval) | 1080 | if (intval) |
1081 | *intval = freq+1; /* so the token gets a value 1<=x<=7 */ | 1081 | *intval = freq+1; /* so the token gets a value 1<=x<=7 */ |
1082 | snprintf(buf, buf_size, "%d\n", | 1082 | snprintf(buf, buf_size, "%s\n", |
1083 | freq_strings[global_settings.rec_frequency]); | 1083 | freq_strings[global_settings.rec_frequency]); |
1084 | #endif | 1084 | #endif |
1085 | return buf; | 1085 | return buf; |
diff --git a/apps/gui/usb_screen.c b/apps/gui/usb_screen.c index 9895defc2b..2873562edc 100644 --- a/apps/gui/usb_screen.c +++ b/apps/gui/usb_screen.c | |||
@@ -19,6 +19,7 @@ | |||
19 | * | 19 | * |
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | 21 | ||
22 | #include <stdbool.h> | ||
22 | #include "action.h" | 23 | #include "action.h" |
23 | #include "font.h" | 24 | #include "font.h" |
24 | #ifdef HAVE_REMOTE_LCD | 25 | #ifdef HAVE_REMOTE_LCD |