diff options
author | Eli Zaretskii <eliz@gnu.org> | 2021-08-18 16:01:57 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2021-08-18 16:01:57 +0300 |
commit | bf4f7388b6d0373d239b0aeedcc1a77549371320 (patch) | |
tree | a346cd1f569e0911c4af387eeb690c6ff22bdd22 | |
parent | fa4a63c689864a75b2439b9a5f858158fa1a7c7a (diff) | |
download | emacs-bf4f7388b6d0373d239b0aeedcc1a77549371320.tar.gz |
Fix abort when turning on Hebrew or Arabic input methods
* src/xdisp.c (face_before_or_after_it_pos): Add the missing
initialization of the bidi scan direction. (Bug#50107)
-rw-r--r-- | src/xdisp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 3b7ed2be203..ceb0fa7e64d 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -4601,6 +4601,7 @@ face_before_or_after_it_pos (struct it *it, bool before_p) SAVE_IT (it_copy, *it, it_copy_data); IT_STRING_CHARPOS (it_copy) = 0; bidi_init_it (0, 0, FRAME_WINDOW_P (it_copy.f), &it_copy.bidi_it); + it_copy.bidi_it.scan_dir = 0; do { |