Commit d9334cb7 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Tested with buffer reordering, fixed one crash.

 src/xdisp.c (Fcurrent_bidi_paragraph_direction): Initialize
 itb.string.s to NULL (avoids a crash in bidi_paragraph_init).
parent 87e67904
2011-06-09 Eli Zaretskii <eliz@gnu.org>
* xdisp.c (Fcurrent_bidi_paragraph_direction): Initialize
itb.string.s to NULL (avoids a crash in bidi_paragraph_init).
2011-06-08 Eli Zaretskii <eliz@gnu.org>
* bidi.c (bidi_paragraph_info): Delete unused struct.
......
......@@ -18169,6 +18169,7 @@ See also `bidi-paragraph-direction'. */)
itb.charpos = pos;
itb.bytepos = bytepos;
itb.nchars = -1;
itb.string.s = NULL;
itb.frame_window_p = FRAME_WINDOW_P (SELECTED_FRAME ()); /* guesswork */
itb.first_elt = 1;
itb.separator_limit = -1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment