summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-01-05 13:54:04 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-01-05 13:54:04 +0100
commit4ddd5fa9443a6bb9d3ee3658e8e41cddbc2fa4c6 (patch)
tree60b9dc74de09622b102701b22319fcfa212c5150
parent739fcc7aff2fdbcaf0b93e1fa2bdc9654374f042 (diff)
downloadvdr-4ddd5fa9443a6bb9d3ee3658e8e41cddbc2fa4c6.tar.gz
vdr-4ddd5fa9443a6bb9d3ee3658e8e41cddbc2fa4c6.tar.bz2
Fixed initial channel display if Setup.TimeoutRequChInfo is 'no'
-rw-r--r--vdr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vdr.c b/vdr.c
index 1db090d4..8f63f006 100644
--- a/vdr.c
+++ b/vdr.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/vdr
*
- * $Id: vdr.c 1.227 2006/01/04 15:09:07 kls Exp $
+ * $Id: vdr.c 1.228 2006/01/05 13:54:04 kls Exp $
*/
#include <getopt.h>
@@ -480,7 +480,7 @@ int main(int argc, char *argv[])
// Main program loop variables - need to be here to have them initialized before any EXIT():
cOsdObject *Menu = NULL;
- int LastChannel = -1;
+ int LastChannel = 0;
int LastTimerChannel = -1;
int PreviousChannel[2] = { 1, 1 };
int PreviousChannelIndex = 0;
@@ -717,7 +717,7 @@ int main(int argc, char *argv[])
// Channel display:
if (!EITScanner.Active() && cDevice::CurrentChannel() != LastChannel) {
if (!Menu)
- Menu = new cDisplayChannel(cDevice::CurrentChannel(), LastChannel > 0);
+ Menu = new cDisplayChannel(cDevice::CurrentChannel(), LastChannel >= 0);
LastChannel = cDevice::CurrentChannel();
LastChannelChanged = time(NULL);
}