summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-05-29 11:45:13 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-05-29 11:45:13 +0200
commitb8c2934668cd4c497bc5fcda0d18231d447af0ad (patch)
treec382378d7d36b0edfd26f918000ee39012cc6f67 /menu.c
parent984c51ef917611c4c0ce0850339a3259984e14bc (diff)
downloadvdr-b8c2934668cd4c497bc5fcda0d18231d447af0ad.tar.gz
vdr-b8c2934668cd4c497bc5fcda0d18231d447af0ad.tar.bz2
Fixed an uninitialized variable in cDisplayChannel
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index 85b94bed..64930a7e 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.251 2003/05/29 11:35:52 kls Exp $
+ * $Id: menu.c 1.252 2003/05/29 11:43:36 kls Exp $
*/
#include "menu.h"
@@ -2641,7 +2641,8 @@ cDisplayChannel::cDisplayChannel(eKeys FirstKey)
lines = 0;
number = 0;
lastTime = time_ms();
- int EpgLines = Setup.ShowInfoOnChSwitch ? 5 : 1;
+ withInfo = Setup.ShowInfoOnChSwitch;
+ int EpgLines = withInfo ? 5 : 1;
Interface->Open(Setup.OSDwidth, Setup.ChannelInfoPos ? EpgLines : -EpgLines);
ProcessKey(FirstKey);
}