Mercurial > emacs
diff src/xterm.c @ 36555:b6b9363f3e20
(XTmouse_position): Fix tyypo.
author | Dave Love <fx@gnu.org> |
---|---|
date | Mon, 05 Mar 2001 21:19:09 +0000 |
parents | da77079d6981 |
children | d9bb01d5dbbb |
line wrap: on
line diff
--- a/src/xterm.c Mon Mar 05 19:59:46 2001 +0000 +++ b/src/xterm.c Mon Mar 05 21:19:09 2001 +0000 @@ -7641,7 +7641,7 @@ 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;