[Scummvm-cvs-logs] SF.net SVN: scummvm:[43874] scummvm/trunk/engines/sci/gfx/operations.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Tue Sep 1 08:21:23 CEST 2009


Revision: 43874
          http://scummvm.svn.sourceforge.net/scummvm/?rev=43874&view=rev
Author:   thebluegr
Date:     2009-09-01 06:21:23 +0000 (Tue, 01 Sep 2009)

Log Message:
-----------
Fixed regression with some weird mouse cursors (e.g. in EcoQuest)

Modified Paths:
--------------
    scummvm/trunk/engines/sci/gfx/operations.cpp

Modified: scummvm/trunk/engines/sci/gfx/operations.cpp
===================================================================
--- scummvm/trunk/engines/sci/gfx/operations.cpp	2009-09-01 05:30:45 UTC (rev 43873)
+++ scummvm/trunk/engines/sci/gfx/operations.cpp	2009-09-01 06:21:23 UTC (rev 43874)
@@ -1114,8 +1114,10 @@
 	}
 
 	// Eco Quest 1 uses a 1x1 transparent cursor to hide the cursor from the user. Some scalers don't seem to support this.
-	if (new_pointer->width < 2 || new_pointer->height < 2)
+	if (new_pointer->width < 2 || new_pointer->height < 2) {
 		_gfxop_set_pointer(state, NULL, NULL);
+		return;
+	}
 
 	if (hotspot)
 		_gfxop_set_pointer(state, new_pointer, hotspot);


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