diff options
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/ScintillaMacOSX.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/macosx/ScintillaMacOSX.cxx b/macosx/ScintillaMacOSX.cxx index 410d105d9..7b789af95 100644 --- a/macosx/ScintillaMacOSX.cxx +++ b/macosx/ScintillaMacOSX.cxx @@ -666,8 +666,10 @@ void ScintillaMacOSX::SetPasteboardData(PasteboardRef &theClipboard, const Selec } data = CFStringCreateExternalRepresentation ( kCFAllocatorDefault, string, kCFStringEncodingUnicode, 0 ); if (data) { + // Fixes http://bugs.activestate.com/show_bug.cgi?id=81340. + // See the bug for details PasteboardPutItemFlavor( theClipboard, (PasteboardItemID)1, - CFSTR("public.utf16-plain-text"), + CFSTR("public.utf16-external-plain-text"), data, 0 ); CFRelease(data); data = NULL; |