]> git.eshelyaron.com Git - emacs.git/commitdiff
REALLY fix bug #10164 with crashes when linum-mode is turned on.
authorEli Zaretskii <eliz@gnu.org>
Wed, 30 Nov 2011 16:50:38 +0000 (18:50 +0200)
committerEli Zaretskii <eliz@gnu.org>
Wed, 30 Nov 2011 16:50:38 +0000 (18:50 +0200)
 src/dispnew.c (adjust_glyph_matrix): Remove the assertion that
 verifies glyph row's hash code--we have just reallocated the
 glyphs, so their contents can be complete garbage.

src/ChangeLog
src/dispnew.c

index 4121da0861781e69265bfa8e7cd8070d6128ef42..cd3d5b0ac3c59b81653cb1fc83d50b24f338e360 100644 (file)
@@ -1,3 +1,9 @@
+2011-11-30  Eli Zaretskii  <eliz@gnu.org>
+
+       * dispnew.c (adjust_glyph_matrix): Remove the assertion that
+       verifies glyph row's hash code--we have just reallocated the
+       glyphs, so their contents can be complete garbage.  (Bug#10164)
+
 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
 
        * dispnew.c (adjust_glyph_matrix) [XASSERTS]: Add missing check.
index d2f33f0b5e4269cd23444c5d227a682e471ddfae..2c0e74d0dde851efa09b32da6937835533fe900a 100644 (file)
@@ -608,10 +608,6 @@ adjust_glyph_matrix (struct window *w, struct glyph_matrix *matrix, int x, int y
                  row->glyphs[LAST_AREA]
                    = row->glyphs[LEFT_MARGIN_AREA] + dim.width;
                }
-#if XASSERTS
-             if (row->enabled_p && !row->mode_line_p)
-               xassert (verify_row_hash (row));
-#endif
              ++row;
            }
        }