aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/posix
diff options
context:
space:
mode:
authorDavid Corrales2007-07-19 20:21:47 +0000
committerDavid Corrales2007-07-19 20:21:47 +0000
commitb95b3fe4f39dee9f46a522c05791628d085b2704 (patch)
tree1b5208016d5e8fde94f5804b1b8a949ec76236b1 /backends/fs/posix
parent21f352b2df2b45b9bcff6a0c21d57a1e480d4802 (diff)
downloadscummvm-rg350-b95b3fe4f39dee9f46a522c05791628d085b2704.tar.gz
scummvm-rg350-b95b3fe4f39dee9f46a522c05791628d085b2704.tar.bz2
scummvm-rg350-b95b3fe4f39dee9f46a522c05791628d085b2704.zip
Fixed a subtle bug when browsing directories in the main game chooser.
svn-id: r28149
Diffstat (limited to 'backends/fs/posix')
-rw-r--r--backends/fs/posix/posix-fs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/fs/posix/posix-fs.cpp b/backends/fs/posix/posix-fs.cpp
index 385bab833c..3708acd2a8 100644
--- a/backends/fs/posix/posix-fs.cpp
+++ b/backends/fs/posix/posix-fs.cpp
@@ -243,7 +243,7 @@ AbstractFilesystemNode *POSIXFilesystemNode::getParent() const {
const char *start = _path.c_str();
const char *end = lastPathComponent(_path);
- return new POSIXFilesystemNode(String(start, end - start), false);
+ return new POSIXFilesystemNode(String(start, end - start), true);
}
#endif //#if defined(UNIX)