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

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Sat Oct 17 12:50:40 CEST 2009


Revision: 45179
          http://scummvm.svn.sourceforge.net/scummvm/?rev=45179&view=rev
Author:   m_kiewitz
Date:     2009-10-17 10:50:39 +0000 (Sat, 17 Oct 2009)

Log Message:
-----------
SCI/newgui: menuPort gets id 0xFFFF assigned, fixes kq5 mouse coordination

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

Modified: scummvm/trunk/engines/sci/gui/gui_gfx.cpp
===================================================================
--- scummvm/trunk/engines/sci/gui/gui_gfx.cpp	2009-10-17 10:42:00 UTC (rev 45178)
+++ scummvm/trunk/engines/sci/gui/gui_gfx.cpp	2009-10-17 10:50:39 UTC (rev 45179)
@@ -63,7 +63,7 @@
 	OpenPort(_mainPort);
 
 	// _menuPort has actually hardcoded id 0xFFFF. Its not meant to be known to windowmanager according to sierra sci
-	_menuPort = new GuiPort(0);
+	_menuPort = new GuiPort(0xFFFF);
 	OpenPort(_menuPort);
 	SetFont(0);
 	_menuPort->rect = Common::Rect(0, 0, _screen->_width, _screen->_height);


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