]> git.eshelyaron.com Git - emacs.git/commitdiff
(adjust_glyph_matrix): In the optimization for
authorGerd Moellmann <gerd@gnu.org>
Wed, 8 Aug 2001 11:41:07 +0000 (11:41 +0000)
committerGerd Moellmann <gerd@gnu.org>
Wed, 8 Aug 2001 11:41:07 +0000 (11:41 +0000)
windows whose height has changed, disable partially visible
lines.

src/dispnew.c

index 5e16897b93ffcef15b8508ce3d60c08e72c5aaed..c8700f3563eab7cdef9cfc7c8f5ec03c9b29de87 100644 (file)
@@ -801,7 +801,9 @@ adjust_glyph_matrix (w, matrix, x, y, dim)
              for (i = 0; i < matrix->nrows && matrix->rows[i].enabled_p; ++i)
                if (MATRIX_ROW_BOTTOM_Y (matrix->rows + i) >= window_height)
                  {
-                   ++i;
+                   if (MATRIX_ROW_BOTTOM_Y (matrix->rows + i)
+                       == window_height)
+                     ++i;
                    break;
                  }