dinput: Clamp joystick position values to min-max range

Vitaliy Margolen wine-patches at kievinfo.com
Tue May 13 08:33:31 CDT 2008


Because of rounding errors it was possible to have -+ 1 outside the
required range.

Fixes bugs 12643 and 10969.
---
 dlls/dinput/joystick_linuxinput.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c34233ff0b4a4b115be82bacabc66c83328f0d1a.diff
Type: text/x-patch
Size: 697 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080513/ecdd40dc/attachment.bin 


More information about the wine-patches mailing list