]> git.eshelyaron.com Git - emacs.git/commitdiff
(try_window_reusing_current_matrix): Fix bug setting
authorGerd Moellmann <gerd@gnu.org>
Wed, 3 Jan 2001 12:33:35 +0000 (12:33 +0000)
committerGerd Moellmann <gerd@gnu.org>
Wed, 3 Jan 2001 12:33:35 +0000 (12:33 +0000)
the enabled_p flag of the glyph row at window_end_vpos to 0.
(handle_single_display_prop): Fix last change.

src/ChangeLog
src/xdisp.c

index 6f3b4637eccadfb858106bbb03b4e99af5f99e07..4f622116cebdb13caa862daba076931918891304 100644 (file)
@@ -1,3 +1,9 @@
+2001-01-03  Gerd Moellmann  <gerd@gnu.org>
+
+       * xdisp.c (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.
+
 2001-01-02  Richard M. Stallman  <rms@caffeine.ai.mit.edu>
 
        * window.c (Frecenter): Doc fix.
index 3a65bbf6175e2b8680a96c02a4db2a64fff87281..482a704aee2968aeca140586fbf5c443169c4a90 100644 (file)
@@ -2756,6 +2756,7 @@ handle_single_display_prop (it, prop, object, position)
       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 @@ handle_single_display_prop (it, prop, object, position)
       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 @@ try_window_reusing_current_matrix (w)
          
          /* 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;
        }