Index: dlls/dinput/device.c =================================================================== RCS file: /home/wine/wine/dlls/dinput/device.c,v retrieving revision 1.23 diff -u -r1.23 device.c --- dlls/dinput/device.c 17 Sep 2004 18:10:41 -0000 1.23 +++ dlls/dinput/device.c 29 Jan 2005 17:39:44 -0000 @@ -316,7 +316,7 @@ * instance id. */ ((asked_format->rgodf[j].dwType & 0x00FFFF00) == DIDFT_ANYINSTANCE) || - (DIDFT_GETINSTANCE(wine_format->rgodf[i].dwType) == DIDFT_GETINSTANCE(asked_format->rgodf[j].dwType)))) { + (wine_format->rgodf[i].dwType & asked_format->rgodf[j].dwType))) { done[j] = 1;