summaryrefslogtreecommitdiffstats
path: root/apps/gui/statusbar.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/statusbar.c')
-rw-r--r--apps/gui/statusbar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/statusbar.c b/apps/gui/statusbar.c
index 08c02fa874..6070c77cb3 100644
--- a/apps/gui/statusbar.c
+++ b/apps/gui/statusbar.c
@@ -602,7 +602,7 @@ void gui_statusbar_time(struct screen * display, int hour, int minute)
#ifdef HAVE_RECORDING
void gui_statusbar_icon_recording_info(struct screen * display)
{
-#if (CONFIG_CODEC != SWCODEC) || defined(SIMULATOR)
+#if (CONFIG_CODEC != SWCODEC) || (defined(SIMULATOR) && defined(HAVE_SPDIF_IN))
char buffer[4];
#endif
#if CONFIG_CODEC != SWCODEC