714 |
} |
} |
715 |
toindex_byte += thislen_byte; |
toindex_byte += thislen_byte; |
716 |
toindex += thisleni - combined; |
toindex += thisleni - combined; |
717 |
SCHARS (val) -= combined; |
STRING_SET_CHARS (val, SCHARS (val) - combined); |
718 |
} |
} |
719 |
/* Copy a single-byte string to a multibyte string. */ |
/* Copy a single-byte string to a multibyte string. */ |
720 |
else if (STRINGP (this) && STRINGP (val)) |
else if (STRINGP (this) && STRINGP (val)) |
804 |
&& toindex_byte > 0 |
&& toindex_byte > 0 |
805 |
&& count_combining (SDATA (val), |
&& count_combining (SDATA (val), |
806 |
toindex_byte, toindex_byte - 1)) |
toindex_byte, toindex_byte - 1)) |
807 |
SCHARS (val)--; |
STRING_SET_CHARS (val, SCHARS (val) - 1); |
808 |
else |
else |
809 |
toindex++; |
toindex++; |
810 |
} |
} |