Fix two crashes with display of R2L lines in GUI sessions.
authorEli Zaretskii <eliz@gnu.org>
Sat, 17 Apr 2010 10:29:40 +0000 (13:29 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 17 Apr 2010 10:29:40 +0000 (13:29 +0300)
commit459035295cb9de3fcd37af915200f766031f1540
tree34a0d3fa09da7a320526e90b640fb49778f1b6dc
parent8fccb1179b7e25ddd8f6b0ed74fadc7bb4940a3c
Fix two crashes with display of R2L lines in GUI sessions.

 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.
src/ChangeLog
src/xdisp.c