[Scummvm-cvs-logs] SF.net SVN: scummvm: [23505] scummvm/branches/branch-0-9-0/gui/ThemeNew.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Thu Jul 20 22:49:40 CEST 2006
Revision: 23505
http://svn.sourceforge.net/scummvm/?rev=23505&view=rev
Author: lordhoto
Date: 2006-07-15 06:28:28 -0700 (Sat, 15 Jul 2006)
Log Message:
-----------
Makes usage of themepath over extrapath when loading the theme files. (backport)
Modified Paths:
--------------
scummvm/branches/branch-0-9-0/gui/ThemeNew.cpp
Modified: scummvm/branches/branch-0-9-0/gui/ThemeNew.cpp
===================================================================
--- scummvm/branches/branch-0-9-0/gui/ThemeNew.cpp 2006-07-15 13:25:54 UTC (rev 23504)
+++ scummvm/branches/branch-0-9-0/gui/ThemeNew.cpp 2006-07-15 13:28:28 UTC (rev 23505)
@@ -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