diff options
| -rw-r--r-- | src/w32fns.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/w32fns.c b/src/w32fns.c index ea52c2d3808..45ea7b1f475 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -124,7 +124,7 @@ Lisp_Object Vw32_enable_caps_lock; | |||
| 124 | /* Modifier associated with Scroll Lock, or nil to act as a normal key. */ | 124 | /* Modifier associated with Scroll Lock, or nil to act as a normal key. */ |
| 125 | Lisp_Object Vw32_scroll_lock_modifier; | 125 | Lisp_Object Vw32_scroll_lock_modifier; |
| 126 | 126 | ||
| 127 | /* Switch to control whether we inhibit requests for synthesyzed bold | 127 | /* Switch to control whether we inhibit requests for synthesized bold |
| 128 | and italic versions of fonts. */ | 128 | and italic versions of fonts. */ |
| 129 | Lisp_Object Vw32_enable_synthesized_fonts; | 129 | Lisp_Object Vw32_enable_synthesized_fonts; |
| 130 | 130 | ||
| @@ -4212,7 +4212,7 @@ w32_wnd_proc (hwnd, msg, wParam, lParam) | |||
| 4212 | are used together, but only if user has two button mouse. */ | 4212 | are used together, but only if user has two button mouse. */ |
| 4213 | case WM_LBUTTONDOWN: | 4213 | case WM_LBUTTONDOWN: |
| 4214 | case WM_RBUTTONDOWN: | 4214 | case WM_RBUTTONDOWN: |
| 4215 | if (XINT (Vw32_num_mouse_buttons) == 3) | 4215 | if (XINT (Vw32_num_mouse_buttons) > 2) |
| 4216 | goto handle_plain_button; | 4216 | goto handle_plain_button; |
| 4217 | 4217 | ||
| 4218 | { | 4218 | { |
| @@ -4275,7 +4275,7 @@ w32_wnd_proc (hwnd, msg, wParam, lParam) | |||
| 4275 | 4275 | ||
| 4276 | case WM_LBUTTONUP: | 4276 | case WM_LBUTTONUP: |
| 4277 | case WM_RBUTTONUP: | 4277 | case WM_RBUTTONUP: |
| 4278 | if (XINT (Vw32_num_mouse_buttons) == 3) | 4278 | if (XINT (Vw32_num_mouse_buttons) > 2) |
| 4279 | goto handle_plain_button; | 4279 | goto handle_plain_button; |
| 4280 | 4280 | ||
| 4281 | { | 4281 | { |