From 2c02ed028a9e4fadd23668e39dbf349e60cb7eff Mon Sep 17 00:00:00 2001 From: simon Date: Sat, 25 Jan 2003 16:22:49 +0000 Subject: [PATCH] Fix minor breakage on Windows as a result of term_mouse revamp. git-svn-id: svn://svn.tartarus.org/sgt/putty@2722 cda61777-01e9-0310-a592-d414129be87e --- 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; -- 2.11.0