[Scummvm-cvs-logs] SF.net SVN: scummvm:[43103] scummvm/branches/branch-1-0-0/backends/platform /wince/wince-sdl.cpp

knakos at users.sourceforge.net knakos at users.sourceforge.net
Fri Aug 7 21:34:12 CEST 2009


Revision: 43103
          http://scummvm.svn.sourceforge.net/scummvm/?rev=43103&view=rev
Author:   knakos
Date:     2009-08-07 19:34:12 +0000 (Fri, 07 Aug 2009)

Log Message:
-----------
mouse up events need the same lovin' as mouse down events do. don't underestimate 'em. fixes bug #2833549 (backport)

Modified Paths:
--------------
    scummvm/branches/branch-1-0-0/backends/platform/wince/wince-sdl.cpp

Modified: scummvm/branches/branch-1-0-0/backends/platform/wince/wince-sdl.cpp
===================================================================
--- scummvm/branches/branch-1-0-0/backends/platform/wince/wince-sdl.cpp	2009-08-07 19:33:39 UTC (rev 43102)
+++ scummvm/branches/branch-1-0-0/backends/platform/wince/wince-sdl.cpp	2009-08-07 19:34:12 UTC (rev 43103)
@@ -2471,9 +2471,12 @@
 			}
 
 			if (_toolbarHandler.action(event.mouse.x, event.mouse.y, false)) {
-				if (!_toolbarHandler.drawn())
+				if (!_toolbarHandler.drawn()) {
 					_toolbarHighDrawn = false;
 					internUpdateScreen();
+				}
+				return false;
+
 			}
 			return true;
 


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