diff options
-rw-r--r-- | HISTORY | 5 | ||||
-rw-r--r-- | menuundelete.c | 4 |
2 files changed, 9 insertions, 0 deletions
@@ -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 <martin.dummer@gmx.net> + +- 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); |