Differences From Artifact [4f45ba9beb]:
- File
src/OFMutableString_UTF8.m
— part of check-in
[44f45c2e35]
at
2017-01-09 17:36:36
on branch trunk
— Update copyright
Forgot to add 2017, even though I already did quite some changes in
2017. (user: js, size: 19902) [annotate] [blame] [check-ins using]
To Artifact [921a7c0237]:
- File src/OFMutableString_UTF8.m — part of check-in [5a31a537a1] at 2017-02-04 17:45:33 on branch trunk — Fix typos in comments and strings found by aspell (user: js, size: 19903) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
612 613 614 615 616 617 618 | _s->hashed = false; /* * If the new string is bigger, we need to resize it first so we can * memmove() the rest of the string to the end. * * We must not resize the string if the new string is smaller, because | | | 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 | _s->hashed = false; /* * If the new string is bigger, we need to resize it first so we can * memmove() the rest of the string to the end. * * We must not resize the string if the new string is smaller, because * then we can't memmove() the rest of the string forward as the rest is * lost due to the resize! */ if (newCStringLength > _s->cStringLength) _s->cString = [self resizeMemory: _s->cString size: newCStringLength + 1]; memmove(_s->cString + start + [replacement UTF8StringLength], |
︙ | ︙ |