include/SDL_mouse.h
changeset 1046 f09d5edfc7a3
parent 911 04a403e4ccf5
child 1312 c9b51268668f
     1.1 --- a/include/SDL_mouse.h	Fri Apr 01 15:19:26 2005 +0000
     1.2 +++ b/include/SDL_mouse.h	Sun Apr 17 10:16:30 2005 +0000
     1.3 @@ -120,7 +120,7 @@
     1.4     Button 4:	Mouse wheel up	 (may also be a real button)
     1.5     Button 5:	Mouse wheel down (may also be a real button)
     1.6   */
     1.7 -#define SDL_BUTTON(X)		(SDL_PRESSED<<(X-1))
     1.8 +#define SDL_BUTTON(X)		(SDL_PRESSED << ((X)-1))
     1.9  #define SDL_BUTTON_LEFT		1
    1.10  #define SDL_BUTTON_MIDDLE	2
    1.11  #define SDL_BUTTON_RIGHT	3