[Scummvm-cvs-logs] CVS: scummvm/backends/fs/posix posix-fs.cpp,1.1,1.2

Max Horn fingolfin at users.sourceforge.net
Thu Nov 14 05:47:04 CET 2002


Update of /cvsroot/scummvm/scummvm/backends/fs/posix
In directory usw-pr-cvs1:/tmp/cvs-serv19980/backends/fs/posix

Modified Files:
	posix-fs.cpp 
Log Message:
added completly useless non functional browser dialog skeleton. Just to show Endy I really have started working on it finally <g>

Index: posix-fs.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/fs/posix/posix-fs.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- posix-fs.cpp	13 Nov 2002 17:16:18 -0000	1.1
+++ posix-fs.cpp	14 Nov 2002 13:46:34 -0000	1.2
@@ -97,6 +97,9 @@
 		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)





More information about the Scummvm-git-logs mailing list