summaryrefslogtreecommitdiff
path: root/mymenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'mymenu.c')
-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);