diff options
author | Torbjörn Andersson | 2006-06-13 09:57:16 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2006-06-13 09:57:16 +0000 |
commit | 3728e96b17f46133f8e6ce4a2a99a7c72cf7ce18 (patch) | |
tree | 4a57d8f27ad2fc89a80fa8dbb79869d56090cb49 /gui | |
parent | df4f95f805b698057381525ca43e5b03cc379633 (diff) | |
download | scummvm-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
Diffstat (limited to 'gui')
-rw-r--r-- | gui/newgui.cpp | 2 |
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(); } } |