Index: src/OFMutableString_UTF8.m ================================================================== --- src/OFMutableString_UTF8.m +++ src/OFMutableString_UTF8.m @@ -533,12 +533,12 @@ [replacement UTF8StringLength]; s->hashed = NO; s->cString = [self resizeMemory: s->cString toSize: newCStringLength + 1]; - memmove(s->cString + end, s->cString + start + - [replacement UTF8StringLength], s->cStringLength - end); + memmove(s->cString + start + [replacement UTF8StringLength], + s->cString + end, s->cStringLength - end); memcpy(s->cString + start, [replacement UTF8String], [replacement UTF8StringLength]); s->cString[newCStringLength] = '\0'; s->cStringLength = newCStringLength;