summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-04-23 15:56:16 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2000-04-23 15:56:16 +0200
commitf308fd8b5dd0fba189db3802e36c2db20c75b6f6 (patch)
tree5dd7f8dad675f524d2b36a4bfa6bbb8cfe2cc6db
parent160c6ec5eb369d309350e9fdf588e29d4ea215bd (diff)
downloadvdr-f308fd8b5dd0fba189db3802e36c2db20c75b6f6.tar.gz
vdr-f308fd8b5dd0fba189db3802e36c2db20c75b6f6.tar.bz2
Making sure channel display is reset after entering an invalid channel number
-rw-r--r--osm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/osm.c b/osm.c
index fc6759a9..32231848 100644
--- a/osm.c
+++ b/osm.c
@@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/people/kls/vdr
*
- * $Id: osm.c 1.8 2000/04/23 14:57:57 kls Exp $
+ * $Id: osm.c 1.9 2000/04/23 15:56:16 kls Exp $
*/
#include <signal.h>
@@ -86,6 +86,7 @@ int main(int argc, char *argv[])
if (time_ms() - dcTime > DIRECTCHANNELTIMEOUT) {
cChannel::SwitchTo(dcNumber - 1);
dcNumber = 0;
+ LastChannel = -1; // in case an invalid channel number was entered!
}
}
// Timer Processing: