dinput: Added a check for NULL callback in EnumDevices.

Juan Lang juan.lang at gmail.com
Sat Jun 4 12:45:47 CDT 2011

> I don't. I just thought that a case where Wine misbehaving causes a
> crash was worth fixing.

Sometimes apps depend on the crash.  Since your change comes with a
test case, it looks reasonable to me, although you might check the
specific HRESULT rather than just FAILED.

More information about the wine-devel mailing list