--- rxvt-unicode/src/command.C 2005/12/20 20:58:31 1.210 +++ rxvt-unicode/src/command.C 2005/12/20 22:27:49 1.211 @@ -137,13 +137,13 @@ x = Pixel2Col (x); y = Pixel2Row (y); - if (x < 0 || x >= ncol - || y < 0 || y >= nrow) + if (!IN_RANGE_EXC (x, 0, ncol) + || !IN_RANGE_EXC (y, 0, nrow)) return; for (;;) { - const line_t &l = save[y + saveLines - view_start]; + const line_t &l = ROW(-view_start); text_t t = l.t[x]; @@ -156,7 +156,6 @@ x--; } - } #endif