dinput mouse regression patch

Robert Reif reif at earthlink.net
Wed Sep 8 17:38:50 CDT 2004


Fixes a mouse regression due to structure size change.
-------------- next part --------------
Index: dlls/dinput/mouse.c
===================================================================
RCS file: /home/wine/wine/dlls/dinput/mouse.c,v
retrieving revision 1.6
diff -u -r1.6 mouse.c
--- dlls/dinput/mouse.c	8 Sep 2004 01:37:25 -0000	1.6
+++ dlls/dinput/mouse.c	8 Sep 2004 22:36:27 -0000
@@ -747,7 +747,7 @@
 	nqtail = This->queue_tail + len;
 	while (nqtail >= This->queue_len) nqtail -= This->queue_len;
     } else {
-	if (dodsize < sizeof(DIDEVICEOBJECTDATA)) {
+	if (dodsize < sizeof(DIDEVICEOBJECTDATA_DX3)) {
 	    ERR("Wrong structure size !\n");
 	    LeaveCriticalSection(&(This->crit));
 	    return DIERR_INVALIDPARAM;


More information about the wine-patches mailing list