From faafa625874017d8fe8a532f4da9d0c6d7779a49 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 24 May 2003 16:41:35 +0200 Subject: Fixed cReplayControl::Show() to avoid a compiler warning in g++ 3.2.3 --- menu.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'menu.c') diff --git a/menu.c b/menu.c index f4c58b35..b46b0055 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.245 2003/05/16 12:40:12 kls Exp $ + * $Id: menu.c 1.246 2003/05/24 16:35:34 kls Exp $ */ #include "menu.h" @@ -3240,7 +3240,7 @@ void cReplayControl::ClearLastReplayed(const char *FileName) } } -void cReplayControl::Show(int Seconds) +void cReplayControl::ShowTimed(int Seconds) { if (modeOnly) Hide(); @@ -3250,6 +3250,11 @@ void cReplayControl::Show(int Seconds) } } +void cReplayControl::Show(void) +{ + ShowTimed(); +} + void cReplayControl::Hide(void) { if (visible) { @@ -3447,7 +3452,7 @@ void cReplayControl::MarkToggle(void) marks.Del(m); else { marks.Add(Current); - Show(2); + ShowTimed(2); } marks.Save(); } -- cgit v1.2.3