mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-03 03:00:24 +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
|
||||
// "default" types must be mapped to a default LCL mime-type
|
||||
if AType.isEqualToString(_NSPasteboardTypeString) then
|
||||
Result := 'text/plan'
|
||||
Result := 'text/plain'
|
||||
else
|
||||
Result := NSStringToString(AType);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user