]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Fix minor breakage on Windows as a result of term_mouse revamp.
authorSimon Tatham <anakin@pobox.com>
Sat, 25 Jan 2003 16:22:49 +0000 (16:22 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 25 Jan 2003 16:22:49 +0000 (16:22 +0000)
[originally from svn r2722]

window.c

index 74bfc402a3c26858a9390afdfc3e2ebde72f796d..0fc7316ef02dd1a8e0a6154d435b3dfa3f9d7cab 100644 (file)
--- 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;