Vitaliy Margolen : dinput: Allow for holes in device status structure.
Module: wine Branch: master Commit: d2da2d378eefb1450f8882d80157465d1e272746 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d2da2d378eefb1450f8882d801... Author: Vitaliy Margolen <wine-patches(a)kievinfo.com> Date: Sat Jan 3 17:53:22 2009 -0700 dinput: Allow for holes in device status structure. --- dlls/dinput/device.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/dlls/dinput/device.c b/dlls/dinput/device.c index ebc87eb..20a577b 100644 --- a/dlls/dinput/device.c +++ b/dlls/dinput/device.c @@ -432,11 +432,8 @@ static HRESULT create_DataFormat(LPCDIDATAFORMAT asked_format, DataFormat *forma break; } } - - if (j == asked_format->dwNumObjs) - same = 0; } - + TRACE("Setting to default value :\n"); for (j = 0; j < asked_format->dwNumObjs; j++) { if (done[j] == 0) {
participants (1)
-
Alexandre Julliard