aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2006-06-13 09:57:16 +0000
committerTorbjörn Andersson2006-06-13 09:57:16 +0000
commit3728e96b17f46133f8e6ce4a2a99a7c72cf7ce18 (patch)
tree4a57d8f27ad2fc89a80fa8dbb79869d56090cb49
parentdf4f95f805b698057381525ca43e5b03cc379633 (diff)
downloadscummvm-rg350-3728e96b17f46133f8e6ce4a2a99a7c72cf7ce18.tar.gz
scummvm-rg350-3728e96b17f46133f8e6ce4a2a99a7c72cf7ce18.tar.bz2
scummvm-rg350-3728e96b17f46133f8e6ce4a2a99a7c72cf7ce18.zip
Disable the theme before restoring the cursor, not afterwards. Otherwise there
may be a noticeable amount of time (disabling the theme can be comparatively slow) where the cursor is wrong. svn-id: r23082
-rw-r--r--gui/newgui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp
index cf88d559da..f4ec342925 100644
--- a/gui/newgui.cpp
+++ b/gui/newgui.cpp
@@ -285,8 +285,8 @@ void NewGui::runLoop() {
PaletteMan.popCursorPalette();
if (didSaveState) {
- restoreState();
_theme->disable();
+ restoreState();
}
}