[Scummvm-cvs-logs] SF.net SVN: scummvm:[41428] scummvm/trunk/graphics/cursorman.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Wed Jun 10 17:01:21 CEST 2009


Revision: 41428
          http://scummvm.svn.sourceforge.net/scummvm/?rev=41428&view=rev
Author:   lordhoto
Date:     2009-06-10 15:01:20 +0000 (Wed, 10 Jun 2009)

Log Message:
-----------
Fix a bug in disableCursorPalette, where it never allowed the palette to be enabled properly again.

Modified Paths:
--------------
    scummvm/trunk/graphics/cursorman.cpp

Modified: scummvm/trunk/graphics/cursorman.cpp
===================================================================
--- scummvm/trunk/graphics/cursorman.cpp	2009-06-10 13:45:23 UTC (rev 41427)
+++ scummvm/trunk/graphics/cursorman.cpp	2009-06-10 15:01:20 UTC (rev 41428)
@@ -139,7 +139,7 @@
 	Palette *pal = _cursorPaletteStack.top();
 	pal->_disabled = disable;
 
-	g_system->disableCursorPalette(true);
+	g_system->disableCursorPalette(disable);
 }
 
 void CursorManager::pushCursorPalette(const byte *colors, uint start, uint num) {


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