From: <fu...@us...> - 2009-06-11 09:28:17
|
Revision: 6396 http://gemrb.svn.sourceforge.net/gemrb/?rev=6396&view=rev Author: fuzzie Date: 2009-06-11 09:28:16 +0000 (Thu, 11 Jun 2009) Log Message: ----------- focus crash fix Modified Paths: -------------- gemrb/trunk/gemrb/plugins/Core/EventMgr.cpp Modified: gemrb/trunk/gemrb/plugins/Core/EventMgr.cpp =================================================================== --- gemrb/trunk/gemrb/plugins/Core/EventMgr.cpp 2009-06-11 03:08:34 UTC (rev 6395) +++ gemrb/trunk/gemrb/plugins/Core/EventMgr.cpp 2009-06-11 09:28:16 UTC (rev 6396) @@ -266,7 +266,7 @@ last_win_mousefocused = *m; if (ctrl != NULL) { last_win_mousefocused->SetMouseFocused( ctrl ); - ctrl->OnMouseDown( x - last_win_focused->XPos - ctrl->XPos, y - last_win_focused->YPos - ctrl->YPos, Button, Mod ); + ctrl->OnMouseDown( x - last_win_mousefocused->XPos - ctrl->XPos, y - last_win_mousefocused->YPos - ctrl->YPos, Button, Mod ); return; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |