diff src/video/win32/SDL_win32events.c @ 2130:3ee59c43d784

Fixes for compiling with Visual C++ 8.0 Express Edition
author Sam Lantinga <slouken@libsdl.org>
date Tue, 19 Jun 2007 05:53:56 +0000
parents 3bcc26b74e42
children e1a70460c354
line wrap: on
line diff
--- a/src/video/win32/SDL_win32events.c	Sat Jun 16 15:32:04 2007 +0000
+++ b/src/video/win32/SDL_win32events.c	Tue Jun 19 05:53:56 2007 +0000
@@ -590,12 +590,12 @@
                 break;
             case WM_XBUTTONDOWN:
                 xbuttonval = GET_XBUTTON_WPARAM(wParam);
-                button = SDL_BUTTON_WHEELDOWN + xbuttonval;
+                button = SDL_BUTTON_RIGHT + xbuttonval;
                 state = SDL_PRESSED;
                 break;
             case WM_XBUTTONUP:
                 xbuttonval = GET_XBUTTON_WPARAM(wParam);
-                button = SDL_BUTTON_WHEELDOWN + xbuttonval;
+                button = SDL_BUTTON_RIGHT + xbuttonval;
                 state = SDL_RELEASED;
                 break;
             default: