aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/posix
diff options
context:
space:
mode:
authorMax Horn2002-11-14 13:46:35 +0000
committerMax Horn2002-11-14 13:46:35 +0000
commite1527333449774ec9ed36756db2459e3c8b0b30d (patch)
tree9254bf4bc62bf9a4715d6fd4e2c53654193a2632 /backends/fs/posix
parentd7a8f1902e17a14e5c8d0c970f9bf0900c2e5b75 (diff)
downloadscummvm-rg350-e1527333449774ec9ed36756db2459e3c8b0b30d.tar.gz
scummvm-rg350-e1527333449774ec9ed36756db2459e3c8b0b30d.tar.bz2
scummvm-rg350-e1527333449774ec9ed36756db2459e3c8b0b30d.zip
added completly useless non functional browser dialog skeleton. Just to show Endy I really have started working on it finally <g>
svn-id: r5547
Diffstat (limited to 'backends/fs/posix')
-rw-r--r--backends/fs/posix/posix-fs.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/backends/fs/posix/posix-fs.cpp b/backends/fs/posix/posix-fs.cpp
index a9c70673bd..60aa6de59c 100644
--- a/backends/fs/posix/posix-fs.cpp
+++ b/backends/fs/posix/posix-fs.cpp
@@ -97,6 +97,9 @@ FSList *POSIXFilesystemNode::listDir() const {
entry._displayName = dp->d_name;
entry._isDirectory = (dp->d_type == DT_DIR); // TODO - add support for symlinks to dirs?
+ // FIXME - skip any non-directories for now
+ if (!entry._isDirectory) continue;
+
entry._path = _path;
entry._path += dp->d_name;
if (entry._isDirectory)