aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorVicent Marti2008-09-19 17:15:20 +0000
committerVicent Marti2008-09-19 17:15:20 +0000
commitc7e07102b69a5fd66a89605c619e008060744bf4 (patch)
treea93afc9c4bbda4e06dfd1d5ece308f899321b882 /gui
parent81715eae04f522af5a39645f97e5c88f10ccef67 (diff)
downloadscummvm-rg350-c7e07102b69a5fd66a89605c619e008060744bf4.tar.gz
scummvm-rg350-c7e07102b69a5fd66a89605c619e008060744bf4.tar.bz2
scummvm-rg350-c7e07102b69a5fd66a89605c619e008060744bf4.zip
Unrolled a loop.
Misc fixes. svn-id: r34604
Diffstat (limited to 'gui')
-rw-r--r--gui/ThemeEngine.cpp2
-rw-r--r--gui/newgui.cpp3
2 files changed, 0 insertions, 5 deletions
diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp
index 17623845b0..e75c2e295e 100644
--- a/gui/ThemeEngine.cpp
+++ b/gui/ThemeEngine.cpp
@@ -462,8 +462,6 @@ bool ThemeEngine::addDrawData(const Common::String &data, bool cached) {
bool ThemeEngine::loadTheme(Common::String fileName) {
unloadTheme();
- warning("Loading theme: %s.\n", fileName.c_str());
-
if (fileName != "builtin") {
if (fileName.hasSuffix(".zip"))
ImageMan.addArchive(fileName);
diff --git a/gui/newgui.cpp b/gui/newgui.cpp
index 3361a76602..72b7f2612c 100644
--- a/gui/newgui.cpp
+++ b/gui/newgui.cpp
@@ -92,9 +92,6 @@ NewGui::NewGui() : _redrawStatus(kRedrawDisabled),
if (themefile.compareToIgnoreCase("default") == 0)
themefile = "builtin";
-// if (themefile != "builtin" && !themefile.hasSuffix(".zip"))
-// themefile += ".zip";
-
ConfMan.registerDefault("gui_renderer", 2);
ThemeEngine::GraphicsMode gfxMode = (ThemeEngine::GraphicsMode)ConfMan.getInt("gui_renderer");