summaryrefslogtreecommitdiff
path: root/recmenumanager.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-03-28 14:59:16 +0100
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-03-28 18:20:20 +0100
commit7ca598f64e22d7ba776282435694d4d21c65dbed (patch)
treed90a27ac7d7764de5a7b1a5233a1ab565c5af5b0 /recmenumanager.c
parent4474b5f5b5380f6cc7588d95106a935e14398e9f (diff)
downloadvdr-plugin-tvguide-7ca598f64e22d7ba776282435694d4d21c65dbed.tar.gz
vdr-plugin-tvguide-7ca598f64e22d7ba776282435694d4d21c65dbed.tar.bz2
Compile again with VDR < 2.3.0
Diffstat (limited to 'recmenumanager.c')
-rw-r--r--recmenumanager.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/recmenumanager.c b/recmenumanager.c
index ccf6540..4c5d5ce 100644
--- a/recmenumanager.c
+++ b/recmenumanager.c
@@ -764,10 +764,14 @@ eOSState cRecMenuManager::StateMachine(eRecMenuState nextState) {
if (cRecMenuEditTimer *menu = dynamic_cast<cRecMenuEditTimer*>(activeMenu)) {
timer = menu->GetOriginalTimer();
} else break;
+#if VDRVERSNUM >= 20301
{
LOCK_TIMERS_WRITE;
recManager->DeleteTimer(Timers->GetTimer(timer));
}
+#else
+ recManager->DeleteTimer(Timers.GetTimer(timer));
+#endif
delete activeMenu;
if (timerConflicts) {
delete timerConflicts;