[Scummvm-cvs-logs] SF.net SVN: scummvm: [29992] scummvm/trunk/backends/fs/posix/posix-fs.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Wed Dec 26 00:16:52 CET 2007


Revision: 29992
          http://scummvm.svn.sourceforge.net/scummvm/?rev=29992&view=rev
Author:   fingolfin
Date:     2007-12-25 15:16:52 -0800 (Tue, 25 Dec 2007)

Log Message:
-----------
Removed obsolete comment

Modified Paths:
--------------
    scummvm/trunk/backends/fs/posix/posix-fs.cpp

Modified: scummvm/trunk/backends/fs/posix/posix-fs.cpp
===================================================================
--- scummvm/trunk/backends/fs/posix/posix-fs.cpp	2007-12-25 21:17:35 UTC (rev 29991)
+++ scummvm/trunk/backends/fs/posix/posix-fs.cpp	2007-12-25 23:16:52 UTC (rev 29992)
@@ -112,27 +112,6 @@
 }
 
 POSIXFilesystemNode::POSIXFilesystemNode() {
-/*  The Browser code now saves the last browsed directory into the config file.
-    Hence the need to start at the "current" directory is far less, and we can
-    remove this hack for now. Still, there may be some need to obtain a ref
-    to the "current" directory. See the TODO list for some thoughts on this.
-    
-    I am leaving this code in here for the time being, to be used as reference.
-
-	// FIXME: It is evil & slow to always call getcwd here.
-	// The intention behind this hack was/is to be more user friendly
-	// in our save/load dialogs: Instead of starting at the FS root,
-	// we start at the current directory. However, that's just a hack.
-	// Proper solution would be to extend FilesystemNode by the concept
-	// of 'current' or 'default' directory, and then modify the
-	// save/load dialogs to explicitly use that as starting point.
-	char buf[MAXPATHLEN];
-	getcwd(buf, MAXPATHLEN);
-
-	_path = buf;
-	_displayName = lastPathComponent(_path);
-	_path += '/';
-*/
 	// The root dir.
 	_path = "/";
 	_displayName = _path;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list