comparison src/xterm.c @ 28281:bd0839655485

(fast_find_position): Make sure not to consider rows not visible in the window.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 23 Mar 2000 11:49:14 +0000
parents 076ed36c3101
children 1d4a11a5f39d
comparison
equal deleted inserted replaced
28280:6f0261bc95b8 28281:bd0839655485
6762 else if (line_start_position > 0) 6762 else if (line_start_position > 0)
6763 { 6763 {
6764 best_row = row; 6764 best_row = row;
6765 best_row_vpos = row_vpos; 6765 best_row_vpos = row_vpos;
6766 } 6766 }
6767
6768 if (row->y + row->height >= yb)
6769 break;
6767 6770
6768 ++row; 6771 ++row;
6769 ++row_vpos; 6772 ++row_vpos;
6770 } 6773 }
6771 6774