[Scummvm-cvs-logs] SF.net SVN: scummvm: [25382] scummvm/trunk/base/main.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Sun Feb 4 14:04:37 CET 2007


Revision: 25382
          http://scummvm.svn.sourceforge.net/scummvm/?rev=25382&view=rev
Author:   fingolfin
Date:     2007-02-04 05:04:36 -0800 (Sun, 04 Feb 2007)

Log Message:
-----------
Don't add '.' to the search dirs as a last fallback. Fixes bug #1597208

Modified Paths:
--------------
    scummvm/trunk/base/main.cpp

Modified: scummvm/trunk/base/main.cpp
===================================================================
--- scummvm/trunk/base/main.cpp	2007-02-04 12:41:49 UTC (rev 25381)
+++ scummvm/trunk/base/main.cpp	2007-02-04 13:04:36 UTC (rev 25382)
@@ -186,9 +186,6 @@
 	if (ConfMan.hasKey("extrapath", Common::ConfigManager::kApplicationDomain))
 		Common::File::addDefaultDirectoryRecursive(ConfMan.get("extrapath", Common::ConfigManager::kApplicationDomain));
 
-	// As a last resort add current directory
-	Common::File::addDefaultDirectory(".");
-
 	// On creation the engine should've set up all debug levels so we can use
 	// the command line arugments here
 	Common::enableSpecialDebugLevelList(edebuglevels);


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