summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2011-06-14 21:56:17 +0000
committerphintuka <phintuka>2011-06-14 21:56:17 +0000
commitfcc46987fbfe6121fd94fa2fcc5f02009a1d01ed (patch)
tree9a578cbc73086e8b8de6e6b27f0214a8c8fc3656
parented78297e2edc3cc2d5c10a1122e7d54c7caf8d70 (diff)
downloadxineliboutput-fcc46987fbfe6121fd94fa2fcc5f02009a1d01ed.tar.gz
xineliboutput-fcc46987fbfe6121fd94fa2fcc5f02009a1d01ed.tar.bz2
Added line missing from 1.85
(closes #3316291)
-rw-r--r--menu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index ec2ecffb..77e8528b 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.86 2011-06-11 10:30:17 phintuka Exp $
+ * $Id: menu.c,v 1.87 2011-06-14 21:56:17 phintuka Exp $
*
*/
@@ -384,6 +384,7 @@ eOSState cMenuBrowseFiles::Open(bool ForceOpen, bool Queue, bool Rewind)
if (asprintf(&buffer, "%s/%s", *m_CurrentDir, d) >= 0) {
while (buffer[0] == '/' && buffer[1] == '/')
memmove(buffer, buffer+1, strlen(buffer));
+ m_CurrentDir = cString(buffer, true);
}
Set();
return osContinue;