From cdcbf602021a64393669a28fbd7de1c7ddd23fa1 Mon Sep 17 00:00:00 2001 From: louis Date: Sat, 4 May 2013 18:16:13 +0200 Subject: display info window only if text available --- textwindow.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/textwindow.c b/textwindow.c index 342f578..a51aa0b 100644 --- a/textwindow.c +++ b/textwindow.c @@ -73,6 +73,9 @@ void cNopacityTextWindow::DoSleep(int duration) { } void cNopacityTextWindow::Action(void) { + if (! *text) + return; + DoSleep(config.menuInfoTextDelay*1000); if (config.scalePicture == 2) { -- cgit v1.2.3