Mercurial > emacs
diff src/keyboard.c @ 85256:6ba13006da6d
Replace `abs' with `eabs'.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 13 Oct 2007 12:44:53 +0000 |
parents | 8188d7d7f4c5 |
children | 43319f71ffe6 |
line wrap: on
line diff
--- a/src/keyboard.c Sat Oct 13 12:44:11 2007 +0000 +++ b/src/keyboard.c Sat Oct 13 12:44:53 2007 +0000 @@ -5707,8 +5707,8 @@ fuzz = double_click_fuzz / 8; is_double = (button == last_mouse_button - && (abs (XINT (event->x) - last_mouse_x) <= fuzz) - && (abs (XINT (event->y) - last_mouse_y) <= fuzz) + && (eabs (XINT (event->x) - last_mouse_x) <= fuzz) + && (eabs (XINT (event->y) - last_mouse_y) <= fuzz) && button_down_time != 0 && (EQ (Vdouble_click_time, Qt) || (INTEGERP (Vdouble_click_time) @@ -5876,8 +5876,8 @@ fuzz = double_click_fuzz / 8; is_double = (last_mouse_button < 0 - && (abs (XINT (event->x) - last_mouse_x) <= fuzz) - && (abs (XINT (event->y) - last_mouse_y) <= fuzz) + && (eabs (XINT (event->x) - last_mouse_x) <= fuzz) + && (eabs (XINT (event->y) - last_mouse_y) <= fuzz) && button_down_time != 0 && (EQ (Vdouble_click_time, Qt) || (INTEGERP (Vdouble_click_time)