Fix rendering of composed caharacters on the mode line. (Bug#19435)
commita41d07b329c034ad34e442bef93b6fcaeb556f9f
authorEli Zaretskii <eliz@gnu.org>
Thu, 25 Dec 2014 15:38:15 +0000 (25 17:38 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 25 Dec 2014 15:38:15 +0000 (25 17:38 +0200)
tree2c2f674122fcb67314d13a7228eee142291a1200
parentb70977ce02432b1ded569215096402e2eee318a3
Fix rendering of composed caharacters on the mode line.  (Bug#19435)

 src/xdisp.c (set_iterator_to_next) <GET_FROM_STRING>: Limit search in
 composition_compute_stop_pos to the number of characters in the
 string.
 <GET_FROM_BUFFER, GET_FROM_STRING>: Simplify code.
 src/composite.c (composition_compute_stop_pos): If no composition
 was found in a string before ENDPOS, and ENDPOS is the string end,
 no need to back up to a safe point.
 src/dispextern.h (struct it) <end_charpos>: Improve commentary.
src/ChangeLog
src/composite.c
src/dispextern.h
src/xdisp.c