Skip to content
This repository was archived by the owner on Aug 5, 2024. It is now read-only.

Commit 1d45818

Browse files
committed
fixup! Updates from review feedback
1 parent df810f7 commit 1d45818

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

objectivec/DiffMatchPatch.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1310,7 +1310,7 @@ - (NSString *)diff_toDelta:(NSMutableArray *)diffs;
13101310
}
13111311

13121312
if (0 != lastEnd && CFStringIsSurrogateHighCharacter(lastEnd) && CFStringIsSurrogateLowCharacter(thisTop)) {
1313-
aDiff.text = [NSString stringWithFormat:@"%C%@", lastEnd, stringByAppendingString:aDiff.text];
1313+
aDiff.text = [NSString stringWithFormat:@"%C%@", lastEnd, aDiff.text];
13141314
}
13151315

13161316
lastEnd = thisEnd;

0 commit comments

Comments
 (0)