Fix typo seems to have no actual effect, but...
This commit is contained in:
parent
1d45cf4f91
commit
01720a8d4f
1 changed files with 1 additions and 1 deletions
|
|
@ -1603,7 +1603,7 @@ - (BOOL)writeSelectionToPasteboard:(NSPasteboard *)pboard types:(NSArray *)types
|
|||
ans = [pboard setString:@(text) forType:NSPasteboardTypeString];
|
||||
} else if ([types containsObject:@"NSStringPboardType"] == YES) {
|
||||
[pboard declareTypes:@[@"NSStringPboardType"] owner:self];
|
||||
ans = [pboard setString:@(text) forType:NSPasteboardTypeString];
|
||||
ans = [pboard setString:@(text) forType:@"NSStringPboardType"];
|
||||
}
|
||||
free(text);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue