[Scummvm-cvs-logs] CVS: scummvm/backends/sdl sdl-common.cpp,1.21,1.22

Max Horn fingolfin at users.sourceforge.net
Wed Dec 25 13:03:02 CET 2002


Update of /cvsroot/scummvm/scummvm/backends/sdl
In directory sc8-pr-cvs1:/tmp/cvs-serv11014/backends/sdl

Modified Files:
	sdl-common.cpp 
Log Message:
seems cursor width/height can occur

Index: sdl-common.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/backends/sdl/sdl-common.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- sdl-common.cpp	25 Dec 2002 12:53:47 -0000	1.21
+++ sdl-common.cpp	25 Dec 2002 21:02:21 -0000	1.22
@@ -401,8 +401,8 @@
 	
 void OSystem_SDL_Common::set_mouse_cursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y) {
 
-	assert(0 < w && w <= MAX_MOUSE_W);
-	assert(0 < h && h <= MAX_MOUSE_H);
+	assert(0 <= w && w <= MAX_MOUSE_W);
+	assert(0 <= h && h <= MAX_MOUSE_H);
 	_mouseCurState.w = w;
 	_mouseCurState.h = h;
 





More information about the Scummvm-git-logs mailing list