changeset 35017:53c3e3f3949b

(try_window_reusing_current_matrix): Fix bug setting the enabled_p flag of the glyph row at window_end_vpos to 0. (handle_single_display_prop): Fix last change.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 03 Jan 2001 12:32:45 +0000
parents 731a7aca9458
children a2bb31a2517e
files src/xdisp.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Wed Jan 03 12:04:06 2001 +0000
+++ b/src/xdisp.c	Wed Jan 03 12:32:45 2001 +0000
@@ -2756,6 +2756,7 @@
       if (FRAME_TERMCAP_P (it->f)
 	  || FRAME_MSDOS_P (it->f)
 	  || FRAME_W32_CONSOLE_P (it->f))
+	return 0;
       
       value = XCAR (XCDR (prop));
       if (NUMBERP (value) && XFLOATINT (value) > 0)
@@ -2769,6 +2770,7 @@
       if (FRAME_TERMCAP_P (it->f)
 	  || FRAME_MSDOS_P (it->f)
 	  || FRAME_W32_CONSOLE_P (it->f))
+	return 0;
       
 #ifdef HAVE_WINDOW_SYSTEM
       value = XCAR (XCDR (prop));
@@ -10225,7 +10227,7 @@
 	  
 	  /* Disable lines in the current matrix which are now
 	     below the window.  */
-	  for (; row < bottom_row; ++row)
+	  for (++row; row < bottom_row; ++row)
 	    row->enabled_p = 0;
 	}