summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-07-28 16:32:40 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-07-28 16:32:40 +0200
commit5d415c08d0ce95aa3ad0d5290896097bac27f97b (patch)
treefe4488851bf02bd8d574831194d0b030cafc7a89 /menu.c
parent97ac61549094cafdc8dcb43946adc947adf843e9 (diff)
downloadvdr-5d415c08d0ce95aa3ad0d5290896097bac27f97b.tar.gz
vdr-5d415c08d0ce95aa3ad0d5290896097bac27f97b.tar.bz2
Fixed display with DEBUG_OSD
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/menu.c b/menu.c
index 6116167f..30532a7d 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c 1.87 2001/07/28 14:03:39 kls Exp $
+ * $Id: menu.c 1.88 2001/07/28 16:17:28 kls Exp $
*/
#include "menu.h"
@@ -2190,9 +2190,8 @@ void cReplayControl::Show(int Seconds)
Interface->Open(Setup.OSDwidth, -3);
needsFastResponse = visible = true;
shown = ShowProgress(true);
- if (Seconds > 0) {
+ if (Seconds > 0)
timeoutShow = time(NULL) + Seconds;
- }
}
}
@@ -2213,6 +2212,7 @@ bool cReplayControl::ShowProgress(bool Initial)
Interface->Clear();
if (title)
Interface->Write(0, 0, title);
+ lastCurrent = lastTotal = -1;
}
if (Total != lastTotal) {
Interface->Write(-7, 2, IndexToHMSF(Total));