# HG changeset patch # User Dave Love # Date 983827149 0 # Node ID b6b9363f3e20a09eb566225f7c56e93468fdb847 # Parent 9904afd52408cfb226a2606574188e388bde5af7 (XTmouse_position): Fix tyypo. diff -r 9904afd52408 -r b6b9363f3e20 src/xterm.c --- 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;