diff options
author | Martin Dummer <martin.dummer@gmx.net> | 2012-09-02 23:35:22 +0200 |
---|---|---|
committer | Martin Dummer <martin.dummer@gmx.net> | 2012-09-02 23:35:22 +0200 |
commit | f40dd20cf02873743f67230660a9db09fd6de619 (patch) | |
tree | a28d5f6605cc5f5552c792b6375fa7f0bd85618f | |
parent | b2a019aaa129da8fc48a32ae2f2c394ab4d52adc (diff) | |
download | vdr-plugin-undelete-f40dd20cf02873743f67230660a9db09fd6de619.tar.gz vdr-plugin-undelete-f40dd20cf02873743f67230660a9db09fd6de619.tar.bz2 |
menuundelete.c: add compile fix for vdr >=1.7.28
-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); |