• Eli Zaretskii's avatar
    Fix two crashes with display of R2L lines in GUI sessions. · 45903529
    Eli Zaretskii authored
     xdisp.c (next_element_from_buffer): Don't call
     bidi_paragraph_init if we are at ZV.  Fixes a crash when reseated to
     ZV by try_window_reusing_current_matrix.
     (display_and_set_cursor, erase_phys_cursor): Handle negative HPOS,
     which happens with R2L glyph rows.  Fixes a crash when inserting a
     character at end of an R2L line.
    45903529
xdisp.c 770 KB