Mercurial > emacs
comparison src/xdisp.c @ 77615:a76ca64a56e8
(try_window_reusing_current_matrix): Fix number of disabled lines.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Sun, 29 Apr 2007 07:26:41 +0000 |
parents | 6423e582c81d |
children | 2d20244326ca 79176e637d2a 41aaac7180d5 70bf32a0f523 |
comparison
equal
deleted
inserted
replaced
77614:ad1c819ae6c8 | 77615:a76ca64a56e8 |
---|---|
13809 start_vpos, | 13809 start_vpos, |
13810 MATRIX_ROW_VPOS (bottom_row, w->current_matrix), | 13810 MATRIX_ROW_VPOS (bottom_row, w->current_matrix), |
13811 nrows_scrolled); | 13811 nrows_scrolled); |
13812 | 13812 |
13813 /* Disable lines that must be updated. */ | 13813 /* Disable lines that must be updated. */ |
13814 for (i = 0; i < it.vpos; ++i) | 13814 for (i = 0; i < nrows_scrolled; ++i) |
13815 (start_row + i)->enabled_p = 0; | 13815 (start_row + i)->enabled_p = 0; |
13816 | 13816 |
13817 /* Re-compute Y positions. */ | 13817 /* Re-compute Y positions. */ |
13818 min_y = WINDOW_HEADER_LINE_HEIGHT (w); | 13818 min_y = WINDOW_HEADER_LINE_HEIGHT (w); |
13819 max_y = it.last_visible_y; | 13819 max_y = it.last_visible_y; |