summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-02-24 14:56:18 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-02-24 14:56:18 +0100
commit39cefd4b276550e4ea9f080c4e85c4b4a2b828ed (patch)
tree6da2e21f86696aa39c49f26ea62be4cec092971b
parent3d9654a22f900a25b4a03d8c1756b3b878872a9b (diff)
downloadvdr-39cefd4b276550e4ea9f080c4e85c4b4a2b828ed.tar.gz
vdr-39cefd4b276550e4ea9f080c4e85c4b4a2b828ed.tar.bz2
Replaced some 'displayChannel->SetEvents(NULL, NULL)/DisplayChannel()' sequences with 'Refresh()'
-rw-r--r--menu.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/menu.c b/menu.c
index 453470e5..23e0a0cb 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.414 2006/02/24 14:55:10 kls Exp $
+ * $Id: menu.c 1.415 2006/02/24 14:56:18 kls Exp $
*/
#include "menu.h"
@@ -3110,9 +3110,8 @@ eOSState cDisplayChannel::ProcessKey(eKeys Key)
else
number = number * 10 + Key - k0;
channel = Channels.GetByNumber(number);
- displayChannel->SetEvents(NULL, NULL);
+ Refresh();
withInfo = false;
- DisplayChannel();
// Lets see if there can be any useful further input:
int n = channel ? number * 10 : 0;
int m = 10;
@@ -3159,8 +3158,7 @@ eOSState cDisplayChannel::ProcessKey(eKeys Key)
group = SaveGroup;
channel = Channels.Get(group);
if (channel) {
- displayChannel->SetEvents(NULL, NULL);
- DisplayChannel();
+ Refresh();
if (!channel->GroupSep())
group = -1;
}