diff options
author | nyamatongwe <unknown> | 2009-03-30 23:39:21 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2009-03-30 23:39:21 +0000 |
commit | d60da95cd3e9d2427d1f2ef0850a3a9e485e96a1 (patch) | |
tree | ccbddb7fe30de9f6c99109ec1eebe0b02a8f7e21 /macosx/ScintillaMacOSX.cxx | |
parent | a183c0042dacce9c7cc0b339c1f71dea7524f180 (diff) | |
download | scintilla-mirror-d60da95cd3e9d2427d1f2ef0850a3a9e485e96a1.tar.gz |
Fix for bug #2722617, Mac: wrong flavor written to clipboard
Diffstat (limited to 'macosx/ScintillaMacOSX.cxx')
-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; |