summaryrefslogtreecommitdiff
path: root/src/xterm.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-10-04 19:48:36 +0000
committerKarl Heuer <kwzh@gnu.org>1994-10-04 19:48:36 +0000
commit68eb6cfbc6d5a2c2a7ae5726018daa57b8330a9c (patch)
treefe213f5eee1bceaa37c30b3b6d5901c7a2f6a552 /src/xterm.c
parent1040edf1ef4a7a4fafef01ef16bd27ee67e9f7c4 (diff)
downloademacs-68eb6cfbc6d5a2c2a7ae5726018daa57b8330a9c.tar.gz
(construct_mouse_click): Don't use XFASTINT as an lvalue.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 9721233a075..d9348a68386 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -1740,8 +1740,8 @@ construct_mouse_click (result, event, f)
#if 0
pixel_to_glyph_coords (f, event->x, event->y, &column, &row, NULL, 0);
- XFASTINT (result->x) = column;
- XFASTINT (result->y) = row;
+ XSETFASTINT (result->x, column);
+ XSETFASTINT (result->y, row);
#endif
XSETINT (result->x, event->x);
XSETINT (result->y, event->y);