summaryrefslogtreecommitdiff
path: root/sdl.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2005-01-15 15:48:05 +0000
committerdarkvater <darkvater@openttd.org>2005-01-15 15:48:05 +0000
commit1d127765c3b80a67369a9b1f6a56c20da7d27827 (patch)
tree174b12956255bea6bb6661e6e5a30597c730575c /sdl.c
parent0c01db5255498826065fd6c0b24160d25a4c019c (diff)
downloadopenttd-1d127765c3b80a67369a9b1f6a56c20da7d27827.tar.xz
(svn r1523) -Fix: somehow mousewheel was disabled on windows using SDL; reenabled again
-Fix: added missing CDECL to ellipsis functions and changed VS6 project file to use _cdecl calling conventions (thx tamlin)
Diffstat (limited to 'sdl.c')
-rw-r--r--sdl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sdl.c b/sdl.c
index e40056619..a87f20b3a 100644
--- a/sdl.c
+++ b/sdl.c
@@ -478,14 +478,12 @@ static int PollEvent(void)
_right_button_down = true;
_right_button_clicked = true;
break;
-#if !defined(WIN32)
case SDL_BUTTON_WHEELUP:
_cursor.wheel--;
break;
case SDL_BUTTON_WHEELDOWN:
_cursor.wheel++;
break;
-#endif
default:
break;
}