• Eli Zaretskii's avatar
    Fix crashes on TTY frames due to "C-x 6 f" · 6469f9cd
    Eli Zaretskii authored
    * src/xdisp.c (redisplay_internal): Revert the recent change
    regarding TTY frames' garbaged flag.  It is not needed.
    
    * src/dispnew.c (adjust_frame_glyphs_for_frame_redisplay):
    When returning due to mismatch between the desired and actual
    dimensions of the glyph matrix, set the frame's garbaged flag
    for TTY frames.  This avoids crashes when we are later called
    from redisplay.  Reported by Ergus <spacibba@aol.com>.
    6469f9cd
xdisp.c 1.07 MB