# HG changeset patch # User YAMAMOTO Mitsuharu # Date 1177831535 0 # Node ID 8d02a642ea062160d89607881b8ff92bc99d5d56 # Parent 545d21ef587f98446d4a5fb23973c83f341fecf8 (try_window_reusing_current_matrix): Fix number of disabled lines. diff -r 545d21ef587f -r 8d02a642ea06 src/xdisp.c --- a/src/xdisp.c Sun Apr 29 01:04:39 2007 +0000 +++ b/src/xdisp.c Sun Apr 29 07:25:35 2007 +0000 @@ -13811,7 +13811,7 @@ nrows_scrolled); /* Disable lines that must be updated. */ - for (i = 0; i < it.vpos; ++i) + for (i = 0; i < nrows_scrolled; ++i) (start_row + i)->enabled_p = 0; /* Re-compute Y positions. */