summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-05-24 16:41:35 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-05-24 16:41:35 +0200
commitfaafa625874017d8fe8a532f4da9d0c6d7779a49 (patch)
treea8da1f4ece19eea19389d7175ad4e5d44ea8755c /menu.c
parent44dbfe9f384c3519e9c7ce29ae7eb790b544ea5d (diff)
downloadvdr-faafa625874017d8fe8a532f4da9d0c6d7779a49.tar.gz
vdr-faafa625874017d8fe8a532f4da9d0c6d7779a49.tar.bz2
Fixed cReplayControl::Show() to avoid a compiler warning in g++ 3.2.3
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c11
1 files changed, 8 insertions, 3 deletions
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();
}