summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index c0a152f8..8ee89ed6 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c,v 1.96 2012-03-19 11:29:14 phintuka Exp $
+ * $Id: menu.c,v 1.97 2013-10-25 17:22:38 rofafor Exp $
*
*/
@@ -220,7 +220,11 @@ void cMenuBrowseFiles::Set(void)
}
if (m_CurrentDir[0] != '/') {
+#if defined(APIVERSNUM) && (APIVERSNUM < 20102)
m_CurrentDir = VideoDirectory;
+#else
+ m_CurrentDir = cVideoDirectory::Name();
+#endif
}
// find deepest accessible directory from path