summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2001-03-05 21:19:09 +0000
committerDave Love <fx@gnu.org>2001-03-05 21:19:09 +0000
commitef8b1545b9cd5ab942d0cd639162853edd8c71fb (patch)
tree8a30f56ec1486c67963509ea74494f3c0b76bb28 /src
parent9faa80fae94afd216da644d858c2785cc619ddab (diff)
downloademacs-ef8b1545b9cd5ab942d0cd639162853edd8c71fb.tar.gz
(XTmouse_position): Fix tyypo.
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 8c2100cb8c4..ef4801fbb18 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -7641,7 +7641,7 @@ XTmouse_position (fp, insist, bar_window, part, x, y, time)
round down even for negative values. */
if (gx < 0)
gx -= width - 1;
- if (y < 0)
+ if (gy < 0)
gy -= height - 1;
gx = (gx + width - 1) / width * width;
gy = (gy + height - 1) / height * height;