diff options
Diffstat (limited to 'WebCore/platform/mac/PasteboardMac.mm')
-rw-r--r-- | WebCore/platform/mac/PasteboardMac.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/platform/mac/PasteboardMac.mm b/WebCore/platform/mac/PasteboardMac.mm index 086b272..03ede03 100644 --- a/WebCore/platform/mac/PasteboardMac.mm +++ b/WebCore/platform/mac/PasteboardMac.mm @@ -184,7 +184,7 @@ void Pasteboard::writeSelection(NSPasteboard* pasteboard, Range* selectedRange, if ([types containsObject:NSStringPboardType]) { // Map to a plain old space because this is better for source code, other browsers do it, // and because HTML forces you to do this any time you want two spaces in a row. - String text = frame->displayStringModifiedByEncoding(selectedRange->text()); + String text = selectedRange->text(); NSMutableString *s = [[[(NSString*)text copy] autorelease] mutableCopy]; NSString *NonBreakingSpaceString = [NSString stringWithCharacters:&noBreakSpace length:1]; |