changeset 36555:b6b9363f3e20

(XTmouse_position): Fix tyypo.
author Dave Love <fx@gnu.org>
date Mon, 05 Mar 2001 21:19:09 +0000
parents 9904afd52408
children 8af75e618534
files src/xterm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;