From 4f00e84db7feaa6103ecb3b485e122918a03095c Mon Sep 17 00:00:00 2001 From: Dave Love Date: Mon, 5 Mar 2001 21:19:09 +0000 Subject: [PATCH] (XTmouse_position): Fix tyypo. --- src/xterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5