summaryrefslogtreecommitdiff
path: root/src/bidi.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2011-10-12 13:32:41 +0200
committerEli Zaretskii <eliz@gnu.org>2011-10-12 13:32:41 +0200
commit0074aef2275e06a767e75cc1b87d22cd7e47cd36 (patch)
treedbb4345259d0315a06bf366a2ac7bcb9f2b5d1e3 /src/bidi.c
parent06e690a2dfe3b69bfc693f328f81a1446a43d37a (diff)
downloademacs-0074aef2275e06a767e75cc1b87d22cd7e47cd36.tar.gz
src/bidi.c (bidi_init_it): Initialize paragraph_dir to NEUTRAL_DIR.
Diffstat (limited to 'src/bidi.c')
-rw-r--r--src/bidi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bidi.c b/src/bidi.c
index e3fc03f4a9b..2c312b14a10 100644
--- a/src/bidi.c
+++ b/src/bidi.c
@@ -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;