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
commit90e1eb6f4dbe36d9f71254c685c215f64f9fde04 (patch)
treeb4798660a859a5caf7df17e72289ae3fb744edcf /src/xterm.c
parenta39f04772bd0235d7dcc4c131f24e4202b86e2e2 (diff)
downloademacs-90e1eb6f4dbe36d9f71254c685c215f64f9fde04.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);