From 82d4eb0fb393cb3f8b8526355dfc8c2ede48adff Mon Sep 17 00:00:00 2001 From: horchi Date: Wed, 21 Jun 2017 20:50:57 +0200 Subject: minor changes --- menutimers.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'menutimers.c') diff --git a/menutimers.c b/menutimers.c index 9c7b8d3..bd71e97 100644 --- a/menutimers.c +++ b/menutimers.c @@ -8,6 +8,7 @@ #include #include +#include "lib/vdrlocks.h" #include "plgconfig.h" #include "menu.h" @@ -133,11 +134,12 @@ eOSState cMenuEpgEditTimer::ProcessKey(eKeys Key) { int recording = no; + GET_CHANNELS_READ(channels); + #if APIVERSNUM >= 20301 - LOCK_CHANNELS_READ; - const cChannel* ch = Channels->GetByNumber(channelNr); + const cChannel* ch = channels->GetByNumber(channelNr); #else - cChannel* ch = Channels.GetByNumber(channelNr); + cChannel* ch = channels.GetByNumber(channelNr); #endif if (!ch) -- cgit v1.2.3