mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-18 00:09:28 +02:00
cocoa: returning actual result for ClipboardGetFormats
git-svn-id: trunk@58731 -
This commit is contained in:
parent
e813dbc042
commit
f2649a561f
@ -241,10 +241,8 @@ var
|
||||
tp : NSString;
|
||||
begin
|
||||
pb := Pasteboards[ClipboardType].pasteboard;
|
||||
if not Assigned(pb) then begin
|
||||
Result := false;
|
||||
Exit;
|
||||
end;
|
||||
Result := Assigned(pb);
|
||||
if not Result then Exit;
|
||||
|
||||
i := 0;
|
||||
SetLength(List, pb.types.count);
|
||||
|
Loading…
Reference in New Issue
Block a user