Attempt to fix crashes per bug #15575.
commit4f3fd0f17d4ee2d960b96bf1a5dd9ec206004b5a
authorEli Zaretskii <eliz@gnu.org>
Thu, 10 Oct 2013 19:26:13 +0000 (10 22:26 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 10 Oct 2013 19:26:13 +0000 (10 22:26 +0300)
tree259ab53c7e74bd9b0c4d6a5f432480fb8e38e9a4
parent4594e860900340b508a0da6a82bf5d948464f7c4
Attempt to fix crashes per bug #15575.

 src/xdisp.c (deep_copy_glyph_row): Assert that the 'used' counts of
 FROM and TO are identical.  Copy only the glyphs of TEXT_AREA.
 src/term.c (save_and_enable_current_matrix): Don't allocate and
 don't save margin areas.
 (restore_desired_matrix): Don't restore margin areas.
 (free_saved_screen): Don't free margin areas.
src/ChangeLog
src/term.c
src/xdisp.c