From: Dave Love Date: Mon, 5 Mar 2001 21:19:09 +0000 (+0000) Subject: (XTmouse_position): Fix tyypo. X-Git-Tag: emacs-pretest-21.0.100~205 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4f00e84db7feaa6103ecb3b485e122918a03095c;p=emacs.git (XTmouse_position): Fix tyypo. --- 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;