Commit b12cd789 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fix bug #10098 with assertion violation during frame resize.

 src/dispnew.c (adjust_glyph_matrix): Don't verify hash code of mode-
 and header-lines, as they don't have one computed for them.
 src/.gdbinit (prow): Make displayed values more self-explaining.
 Add row's hash code.
parent 28109f49
......@@ -311,9 +311,8 @@ define prowx
printf "y=%d x=%d pwid=%d", $row->y, $row->x, $row->pixel_width
printf " a+d=%d+%d=%d", $row->ascent, $row->height-$row->ascent, $row->height
printf " phys=%d+%d=%d", $row->phys_ascent, $row->phys_height-$row->phys_ascent, $row->phys_height
printf " vis=%d", $row->visible_height
printf " L=%d T=%d R=%d", $row->used[0], $row->used[1], $row->used[2]
printf "\n"
printf " vis=%d\n", $row->visible_height
printf "used=(LMargin=%d,Text=%d,RMargin=%d) Hash=%d\n", $row->used[0], $row->used[1], $row->used[2], $row->hash
printf "start=%d end=%d", $row->start.pos.charpos, $row->end.pos.charpos
if ($row->enabled_p)
printf " ENA"
......
2011-11-22 Eli Zaretskii <eliz@gnu.org>
* dispnew.c (adjust_glyph_matrix): Don't verify hash code of mode-
and header-lines, as they don't have one computed for them.
(Bug#10098)
* .gdbinit (prow): Make displayed values more self-explaining.
Add row's hash code.
2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
* process.c (wait_reading_process_output): Fix asynchrounous
......
......@@ -608,7 +608,9 @@ 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;
}
xassert (!row->enabled_p || verify_row_hash (row));
xassert (!row->enabled_p
|| row->mode_line_p
|| verify_row_hash (row));
++row;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment