From f40dd20cf02873743f67230660a9db09fd6de619 Mon Sep 17 00:00:00 2001 From: Martin Dummer Date: Sun, 2 Sep 2012 23:35:22 +0200 Subject: menuundelete.c: add compile fix for vdr >=1.7.28 --- HISTORY | 5 +++++ menuundelete.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/HISTORY b/HISTORY index 26eec60..3b19736 100644 --- a/HISTORY +++ b/HISTORY @@ -54,3 +54,8 @@ VDR Plugin 'undelete' Revision History - cleanup the Makefile, changes are inspired from VDR sample plugin Makefile - remove file i18n.c.org (not needed) - convert i18n handling to gettext + +2012-09-02 Martin Dummer + +- menuundelete.c: add compile fix for vdr >=1.7.28 + thanks to user "tv-user" on http://projects.vdr-developer.org/ diff --git a/menuundelete.c b/menuundelete.c index ccae6c7..404a2a8 100644 --- a/menuundelete.c +++ b/menuundelete.c @@ -30,7 +30,11 @@ cMenuRecordingSelectItem::cMenuRecordingSelectItem(cRecording *Recording, int Le #endif filename = strdup(Recording->FileName()); totalEntries = newEntries = 0; +#if VDRVERSNUM >= 10728 + start = Recording->Start(); +#else start = Recording->start; +#endif SetText(Recording->Title('\t', true, Level)); if ((isdir = (*Text() == '\t'))) name = strdup(Text() + 2); -- cgit v1.2.3