1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Replaced some 'displayChannel->SetEvents(NULL, NULL)/DisplayChannel()' sequences with 'Refresh()'

This commit is contained in:
Klaus Schmidinger 2006-02-24 14:56:18 +01:00
parent 3d9654a22f
commit 39cefd4b27

8
menu.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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" #include "menu.h"
@ -3110,9 +3110,8 @@ eOSState cDisplayChannel::ProcessKey(eKeys Key)
else else
number = number * 10 + Key - k0; number = number * 10 + Key - k0;
channel = Channels.GetByNumber(number); channel = Channels.GetByNumber(number);
displayChannel->SetEvents(NULL, NULL); Refresh();
withInfo = false; withInfo = false;
DisplayChannel();
// Lets see if there can be any useful further input: // Lets see if there can be any useful further input:
int n = channel ? number * 10 : 0; int n = channel ? number * 10 : 0;
int m = 10; int m = 10;
@ -3159,8 +3158,7 @@ eOSState cDisplayChannel::ProcessKey(eKeys Key)
group = SaveGroup; group = SaveGroup;
channel = Channels.Get(group); channel = Channels.Get(group);
if (channel) { if (channel) {
displayChannel->SetEvents(NULL, NULL); Refresh();
DisplayChannel();
if (!channel->GroupSep()) if (!channel->GroupSep())
group = -1; group = -1;
} }