[Scummvm-cvs-logs] SF.net SVN: scummvm: [23082] scummvm/trunk/gui/newgui.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Tue Jun 13 11:57:20 CEST 2006


Revision: 23082
Author:   eriktorbjorn
Date:     2006-06-13 02:57:16 -0700 (Tue, 13 Jun 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=23082&view=rev

Log Message:
-----------
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.

Modified Paths:
--------------
    scummvm/trunk/gui/newgui.cpp
Modified: scummvm/trunk/gui/newgui.cpp
===================================================================
--- scummvm/trunk/gui/newgui.cpp	2006-06-13 09:48:46 UTC (rev 23081)
+++ scummvm/trunk/gui/newgui.cpp	2006-06-13 09:57:16 UTC (rev 23082)
@@ -285,8 +285,8 @@
 		PaletteMan.popCursorPalette();
 
 	if (didSaveState) {
+		_theme->disable();
 		restoreState();
-		_theme->disable();
 	}
 }
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the Scummvm-git-logs mailing list