From e1527333449774ec9ed36756db2459e3c8b0b30d Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 14 Nov 2002 13:46:35 +0000 Subject: added completly useless non functional browser dialog skeleton. Just to show Endy I really have started working on it finally svn-id: r5547 --- backends/fs/posix/posix-fs.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'backends/fs') 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) -- cgit v1.2.3