summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Dummer <martin.dummer@gmx.net>2012-09-02 23:35:22 +0200
committerMartin Dummer <martin.dummer@gmx.net>2012-09-02 23:35:22 +0200
commitf40dd20cf02873743f67230660a9db09fd6de619 (patch)
treea28d5f6605cc5f5552c792b6375fa7f0bd85618f
parentb2a019aaa129da8fc48a32ae2f2c394ab4d52adc (diff)
downloadvdr-plugin-undelete-f40dd20cf02873743f67230660a9db09fd6de619.tar.gz
vdr-plugin-undelete-f40dd20cf02873743f67230660a9db09fd6de619.tar.bz2
menuundelete.c: add compile fix for vdr >=1.7.28
-rw-r--r--HISTORY5
-rw-r--r--menuundelete.c4
2 files changed, 9 insertions, 0 deletions
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 <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);