]> git.eshelyaron.com Git - emacs.git/commit
Code cleanup in xdisp.c regarding string_char_and_length.
authorEli Zaretskii <eliz@gnu.org>
Sat, 11 Dec 2010 12:27:13 +0000 (14:27 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 11 Dec 2010 12:27:13 +0000 (14:27 +0200)
commitf055902693167478ad9affe03bb9398b6140b070
tree3f55daeae2e7e65054affb6a0c7e77737d826181
parent3c73e30e34593dbd43ac6bdd8b6cdf70f493e3a2
Code cleanup in xdisp.c regarding string_char_and_length.

 xdisp.c (string_pos_nchars_ahead, c_string_pos)
 (face_before_or_after_it_pos, next_element_from_string)
 (next_element_from_c_string, produce_stretch_glyph): Remove unused
 calculations of maximum string length before calling
 string_char_and_length and STRING_CHAR_AND_LENGTH.
 (string_char_and_length): Update commentary: MAXLEN is no longer
 needed.
src/ChangeLog
src/xdisp.c