summaryrefslogtreecommitdiff
path: root/menu_timersdone.c
diff options
context:
space:
mode:
Diffstat (limited to 'menu_timersdone.c')
-rw-r--r--menu_timersdone.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/menu_timersdone.c b/menu_timersdone.c
index 2f38d2e..2c7a871 100644
--- a/menu_timersdone.c
+++ b/menu_timersdone.c
@@ -44,12 +44,8 @@ void cMenuTimerDoneItem::Set(void)
tm *tm = localtime_r(&timerDone->start, &tm_r);
strftime(buf, sizeof(buf), "%d.%m.%y %H:%M", tm);
-#if VDRVERSNUM > 20300
LOCK_CHANNELS_READ;
const cChannels *vdrchannels = Channels;
-#else
- cChannels *vdrchannels = &Channels;
-#endif
const cChannel* ch = vdrchannels->GetByChannelID(timerDone->channelID, true, true);
msprintf(&buffer, "%d\t%s\t%s~%s", ch?ch->Number():0, buf, timerDone->title.c_str(), timerDone->shorttext.c_str());
SetText(buffer, false);