Mercurial > sdl-ios-xcode
diff include/SDL_mouse.h @ 1330:450721ad5436
It's now possible to build SDL without any C runtime at all on Windows,
using Visual C++ 2005
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 06 Feb 2006 08:28:51 +0000 |
parents | c9b51268668f |
children | 67114343400d |
line wrap: on
line diff
--- a/include/SDL_mouse.h Sat Feb 04 22:01:44 2006 +0000 +++ b/include/SDL_mouse.h Mon Feb 06 08:28:51 2006 +0000 @@ -115,7 +115,7 @@ Button 4: Mouse wheel up (may also be a real button) Button 5: Mouse wheel down (may also be a real button) */ -#define SDL_BUTTON(X) (SDL_PRESSED << ((X)-1)) +#define SDL_BUTTON(X) (1 << ((X)-1)) #define SDL_BUTTON_LEFT 1 #define SDL_BUTTON_MIDDLE 2 #define SDL_BUTTON_RIGHT 3