[Scummvm-cvs-logs] SF.net SVN: scummvm: [23504] scummvm/trunk/gui/ThemeNew.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Thu Jul 20 22:49:38 CEST 2006


Revision: 23504
          http://svn.sourceforge.net/scummvm/?rev=23504&view=rev
Author:   lordhoto
Date:     2006-07-15 06:25:54 -0700 (Sat, 15 Jul 2006)

Log Message:
-----------
Makes usage of themepath over extrapath then loading the gui files.

Modified Paths:
--------------
    scummvm/trunk/gui/ThemeNew.cpp

Modified: scummvm/trunk/gui/ThemeNew.cpp
===================================================================
--- scummvm/trunk/gui/ThemeNew.cpp	2006-07-15 04:53:54 UTC (rev 23503)
+++ scummvm/trunk/gui/ThemeNew.cpp	2006-07-15 13:25:54 UTC (rev 23504)
@@ -73,12 +73,12 @@
 		clearAll();
 	}
 
+	if (ConfMan.hasKey("themepath"))
+		Common::File::addDefaultDirectory(ConfMan.get("themepath"));
+
 	if (ConfMan.hasKey("extrapath"))
 		Common::File::addDefaultDirectoryRecursive(ConfMan.get("extrapath"));
 
-	if (ConfMan.hasKey("themepath"))
-		Common::File::addDefaultDirectory(ConfMan.get("themepath"));
-
 	ImageMan.addArchive(stylefile + ".zip");
 
 	if (!_configFile.loadFromFile(stylefile + ".ini")) {






More information about the Scummvm-git-logs mailing list