diff options
| author | Eli Zaretskii | 2011-10-12 13:32:41 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2011-10-12 13:32:41 +0200 |
| commit | 0074aef2275e06a767e75cc1b87d22cd7e47cd36 (patch) | |
| tree | dbb4345259d0315a06bf366a2ac7bcb9f2b5d1e3 /src | |
| parent | 06e690a2dfe3b69bfc693f328f81a1446a43d37a (diff) | |
| download | emacs-0074aef2275e06a767e75cc1b87d22cd7e47cd36.tar.gz emacs-0074aef2275e06a767e75cc1b87d22cd7e47cd36.zip | |
src/bidi.c (bidi_init_it): Initialize paragraph_dir to NEUTRAL_DIR.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/bidi.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 5dc440d0430..3c101365965 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2011-10-12 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * bidi.c (bidi_init_it): Initialize paragraph_dir to NEUTRAL_DIR. | ||
| 4 | |||
| 1 | 2011-10-12 Dmitry Antipov <dmantipov@yandex.ru> | 5 | 2011-10-12 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 6 | ||
| 3 | * alloc.c (Fgc_status): Do not access beyond zombies array | 7 | * alloc.c (Fgc_status): Do not access beyond zombies array |
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, | |||
| 808 | bidi_it->nchars = -1; /* to be computed in bidi_resolve_explicit_1 */ | 808 | bidi_it->nchars = -1; /* to be computed in bidi_resolve_explicit_1 */ |
| 809 | bidi_it->first_elt = 1; | 809 | bidi_it->first_elt = 1; |
| 810 | bidi_set_paragraph_end (bidi_it); | 810 | bidi_set_paragraph_end (bidi_it); |
| 811 | bidi_it->paragraph_dir = NEUTRAL_DIR; | ||
| 811 | bidi_it->new_paragraph = 1; | 812 | bidi_it->new_paragraph = 1; |
| 812 | bidi_it->separator_limit = -1; | 813 | bidi_it->separator_limit = -1; |
| 813 | bidi_it->type = NEUTRAL_B; | 814 | bidi_it->type = NEUTRAL_B; |