mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 14:00:41 +02:00
cocoa: fix the clipboard pasting of a plain text. #34832 patch by Zoë Peterson
git-svn-id: trunk@60029 -
This commit is contained in:
parent
9562cb7492
commit
f971f7d20b
@ -431,7 +431,7 @@ function TCocoaWSClipboard.CocoaTypeToMimeType(AType: NSString): string;
|
|||||||
begin
|
begin
|
||||||
// "default" types must be mapped to a default LCL mime-type
|
// "default" types must be mapped to a default LCL mime-type
|
||||||
if AType.isEqualToString(_NSPasteboardTypeString) then
|
if AType.isEqualToString(_NSPasteboardTypeString) then
|
||||||
Result := 'text/plan'
|
Result := 'text/plain'
|
||||||
else
|
else
|
||||||
Result := NSStringToString(AType);
|
Result := NSStringToString(AType);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user