diff options
author | Willem Jan Palenstijn | 2006-08-18 21:55:11 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2006-08-18 21:55:11 +0000 |
commit | d253442c42405f67bf61db60d9f5d490e12ff025 (patch) | |
tree | 41e433615aa9cbc462b8c63115c735e9aab2eb9d /gui | |
parent | 6613b3cae246ac3f511ec1e11713b6256d95aefb (diff) | |
download | scummvm-rg350-d253442c42405f67bf61db60d9f5d490e12ff025.tar.gz scummvm-rg350-d253442c42405f67bf61db60d9f5d490e12ff025.tar.bz2 scummvm-rg350-d253442c42405f67bf61db60d9f5d490e12ff025.zip |
slightly changed patch #1521412: Hardcoded path for theme files
svn-id: r23723
Diffstat (limited to 'gui')
-rw-r--r-- | gui/ThemeNew.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/ThemeNew.cpp b/gui/ThemeNew.cpp index b1dd95da72..3033f54e3b 100644 --- a/gui/ThemeNew.cpp +++ b/gui/ThemeNew.cpp @@ -76,6 +76,10 @@ _lastUsedBitMask(0), _forceRedraw(false), _fonts(), _imageHandles(0), _images(0) if (ConfMan.hasKey("themepath")) Common::File::addDefaultDirectory(ConfMan.get("themepath")); +#ifdef DATA_PATH + Common::File::addDefaultDirectoryRecursive(DATA_PATH); +#endif + if (ConfMan.hasKey("extrapath")) Common::File::addDefaultDirectoryRecursive(ConfMan.get("extrapath")); |