• Eli Zaretskii's avatar
    Code cleanup in xdisp.c regarding string_char_and_length. · f0559026
    Eli Zaretskii authored
     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.
    f0559026
xdisp.c 736 KB