From 57bd015bcb3259e5850d80422851f98d96cfdf2a Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 28 Oct 2001 17:06:34 +0100 Subject: [PATCH] Fixed handling the repeat function in the channel display (cont'd, up/down didn't work with repeat function) --- menu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/menu.c b/menu.c index e5742af9..a4a683b9 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.137 2001/10/28 16:03:49 kls Exp $ + * $Id: menu.c 1.138 2001/10/28 17:06:34 kls Exp $ */ #include "menu.h" @@ -2132,7 +2132,7 @@ eOSState cDisplayChannel::ProcessKey(eKeys Key) case kOk: if (group >= 0) Channels.SwitchTo(Channels.Get(Channels.GetNextNormal(group))->number); return osEnd; - default: if ((Key & (k_Repeat | k_Release)) == 0) { + default: if (NORMALKEY(Key) == kUp || NORMALKEY(Key) == kDown || (Key & (k_Repeat | k_Release)) == 0) { Interface->PutKey(Key); return osEnd; }