From d08f9e8fce24013197fc5ef346d7949a423c36cb Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 25 Jan 2003 16:22:49 +0000 Subject: [PATCH] Fix minor breakage on Windows as a result of term_mouse revamp. [originally from svn r2722] --- window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/window.c b/window.c index 74bfc402..0fc7316e 100644 --- a/window.c +++ b/window.c @@ -78,7 +78,7 @@ #define WHEEL_DELTA 120 #endif -static Mouse_Button translate_button(void *frontend, Mouse_Button button); +static Mouse_Button translate_button(Mouse_Button button); static LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); static int TranslateKey(UINT message, WPARAM wParam, LPARAM lParam, unsigned char *output); @@ -1584,7 +1584,7 @@ static void click(Mouse_Button b, int x, int y, int shift, int ctrl, int alt) * Translate a raw mouse button designation (LEFT, MIDDLE, RIGHT) * into a cooked one (SELECT, EXTEND, PASTE). */ -static Mouse_Button translate_button(void *frontend, Mouse_Button button) +static Mouse_Button translate_button(Mouse_Button button) { if (button == MBT_LEFT) return MBT_SELECT;