summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Maass <mase@mase1.setho.org>2013-10-26 18:24:44 +0200
committerThomas Maass <mase@mase1.setho.org>2013-10-26 18:24:44 +0200
commitc231c8176e65a9ac13b7205779b95db5f465721e (patch)
tree47329864216a94bcff1f2f482bf3a657693dde51
parentb72fb78c521fd35188728e2ef977eb14790378df (diff)
downloadvdr-plugin-hddarchive-c231c8176e65a9ac13b7205779b95db5f465721e.tar.gz
vdr-plugin-hddarchive-c231c8176e65a9ac13b7205779b95db5f465721e.tar.bz2
Brought back support for VDR 2.0.x.
-rw-r--r--mymenu.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mymenu.c b/mymenu.c
index 260f10e..4e4bc0f 100644
--- a/mymenu.c
+++ b/mymenu.c
@@ -111,7 +111,11 @@ void cMyMenuRecordings::Set(bool Refresh)
cString cMyMenuRecordings::DirectoryName(void)
{
+#if APIVERSNUM > 20101
cString d(cVideoDirectory::Name());
+#else
+ cString d(VideoDirectory);
+#endif
if (base) {
char *s = ExchangeChars(strdup(base), true);
d = AddDirectory(d, s);