src/video/cocoa/SDL_cocoawindow.m
changeset 2152 003c1b5b07da
parent 2059 4685ccd33d0e
child 2710 44e49d3fa6cf
     1.1 --- a/src/video/cocoa/SDL_cocoawindow.m	Thu Jul 05 06:35:40 2007 +0000
     1.2 +++ b/src/video/cocoa/SDL_cocoawindow.m	Fri Jul 06 09:22:18 2007 +0000
     1.3 @@ -274,7 +274,7 @@
     1.4      int index;
     1.5  
     1.6      index = _data->videodata->mouse;
     1.7 -    SDL_SendMouseWheel(index, (int)([theEvent deltaY]+0.9f));
     1.8 +    SDL_SendMouseWheel(index, (int)([theEvent deltaX]+0.9f), (int)([theEvent deltaY]+0.9f));
     1.9  }
    1.10  
    1.11  @end