[PATCH v3] winejoystick.drv: Gracefully handle polling an unplugged device

Aric Stewart aric at codeweavers.com
Wed Mar 2 14:49:04 CST 2016


v2: Use a Helper function instead of duplicated code
v3: Just use the switch instead of if...switch on same value

Signed-off-by: Aric Stewart <aric at codeweavers.com>
---
 dlls/winejoystick.drv/joystick_osx.c | 32 +++++++++++++++++++++++++++++---
 1 file changed, 29 insertions(+), 3 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: v3-0002-winejoystick.drv-Gracefully-handle-polling-an-unplu.txt
Type: text/x-patch
Size: 2986 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20160302/31d812a8/attachment.bin>


More information about the wine-patches mailing list