[Scummvm-cvs-logs] SF.net SVN: scummvm:[46248] scummvm/trunk/engines/sci/gui/gui.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Fri Dec 4 13:55:53 CET 2009


Revision: 46248
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46248&view=rev
Author:   m_kiewitz
Date:     2009-12-04 12:55:53 +0000 (Fri, 04 Dec 2009)

Log Message:
-----------
SCI: Fixed kSetCursor (fixes qfg1vga menu immediately disappearing after opening)

Modified Paths:
--------------
    scummvm/trunk/engines/sci/gui/gui.cpp

Modified: scummvm/trunk/engines/sci/gui/gui.cpp
===================================================================
--- scummvm/trunk/engines/sci/gui/gui.cpp	2009-12-03 22:32:48 UTC (rev 46247)
+++ scummvm/trunk/engines/sci/gui/gui.cpp	2009-12-04 12:55:53 UTC (rev 46248)
@@ -761,14 +761,14 @@
 
 	if (pos.x > _screen->_width || pos.y > _screen->_height) {
 		warning("attempt to place cursor at invalid coordinates (%d, %d)", pos.y, pos.x);
-		return; // Not fatal
+		return;
 	}
 
 	_cursor->setPosition(pos);
+
 	// Trigger event reading to make sure the mouse coordinates will
 	// actually have changed the next time we read them.
-	//gfxop_get_event(_s->gfx_state, SCI_EVT_PEEK);
-	// FIXME!
+	gfxop_get_event(_s->gfx_state, SCI_EVT_PEEK);
 }
 
 void SciGui::setCursorZone(Common::Rect zone) {


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