author | Sam Lantinga <slouken@libsdl.org> |
Sat, 03 Jan 2009 06:12:05 +0000 | |
changeset 2975 | 317b2f8e5e4f |
parent 2974 | d2f68ec8c1d0 |
child 2976 | c250fb52ceb8 |
--- a/src/video/win32/SDL_win32events.c Sat Jan 03 06:03:56 2009 +0000 +++ b/src/video/win32/SDL_win32events.c Sat Jan 03 06:12:05 2009 +0000 @@ -286,10 +286,8 @@ SDL_SendMouseButton(index, SDL_RELEASED, SDL_BUTTON_X2); } if (flags & RI_MOUSE_WHEEL) { - if (raw->data.mouse.usButtonData != 0) { - SDL_SendMouseWheel(index, 0, - raw->data.mouse.usButtonData); - } + SDL_SendMouseWheel(index, 0, + (short)raw->data.mouse.usButtonData); } SDL_stack_free(lpb); }