1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-10 13:40:36 -08:00

src/bidi.c (bidi_init_it): Initialize paragraph_dir to NEUTRAL_DIR.

This commit is contained in:
Eli Zaretskii 2011-10-12 13:32:41 +02:00
parent 06e690a2df
commit 0074aef227
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2011-10-12 Eli Zaretskii <eliz@gnu.org>
* bidi.c (bidi_init_it): Initialize paragraph_dir to NEUTRAL_DIR.
2011-10-12 Dmitry Antipov <dmantipov@yandex.ru>
* alloc.c (Fgc_status): Do not access beyond zombies array

View file

@ -808,6 +808,7 @@ bidi_init_it (EMACS_INT charpos, EMACS_INT bytepos, int frame_window_p,
bidi_it->nchars = -1; /* to be computed in bidi_resolve_explicit_1 */
bidi_it->first_elt = 1;
bidi_set_paragraph_end (bidi_it);
bidi_it->paragraph_dir = NEUTRAL_DIR;
bidi_it->new_paragraph = 1;
bidi_it->separator_limit = -1;
bidi_it->type = NEUTRAL_B;