comparison 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
comparison
equal deleted inserted replaced
36554:9904afd52408 36555:b6b9363f3e20
7639 7639
7640 /* Arrange for the division in PIXEL_TO_CHAR_COL etc. to 7640 /* Arrange for the division in PIXEL_TO_CHAR_COL etc. to
7641 round down even for negative values. */ 7641 round down even for negative values. */
7642 if (gx < 0) 7642 if (gx < 0)
7643 gx -= width - 1; 7643 gx -= width - 1;
7644 if (y < 0) 7644 if (gy < 0)
7645 gy -= height - 1; 7645 gy -= height - 1;
7646 gx = (gx + width - 1) / width * width; 7646 gx = (gx + width - 1) / width * width;
7647 gy = (gy + height - 1) / height * height; 7647 gy = (gy + height - 1) / height * height;
7648 7648
7649 last_mouse_glyph.width = width; 7649 last_mouse_glyph.width = width;