* bidi.c (bidi_fetch_char): Swap first and second arguments
authorDmitry Antipov <dmantipov@yandex.ru>
Thu, 7 Mar 2013 23:37:36 +0000 (03:37 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Thu, 7 Mar 2013 23:37:36 +0000 (03:37 +0400)
commit36075a19b2d37e38e8258dff2f774a2a3702dc55
treed6b7433481f28fcfd8f609fe2974a4b0f2ed5ea1
parentc095b77025b5bc3ea72972b33dae025b4c52abeb
* bidi.c (bidi_fetch_char): Swap first and second arguments
to match other functions accepting character and byte positions.
Adjust comment.
(bidi_resolve_explicit_1, bidi_level_of_next_char): Adjust users.
(bidi_paragraph_init): Likewise.  Use DEC_BOTH which is faster
when you need just to move to the previous buffer position.
* xdisp.c (Fcurrent_bidi_paragraph_direction): Use DEC_BOTH.
src/ChangeLog
src/bidi.c
src/xdisp.c