* ReleaseFreetype does not return anything, make it a procedure

git-svn-id: trunk@43292 -
This commit is contained in:
ondrej 2019-10-21 15:54:22 +00:00
parent 6cfe456a78
commit 763b3a96ab

View File

@ -427,7 +427,7 @@ Var
function InitializeFreetype(const LibraryName: UnicodeString = ''): Integer;
function InitializeFreetype(const LibraryName: AnsiString):integer;
function TryInitializeFreetype(const LibraryName: Unicodestring = ''): Integer;
function ReleaseFreetype: Integer;
procedure ReleaseFreetype;
{$ENDIF}
implementation
@ -536,7 +536,7 @@ begin
result:=InitializeFreetype(UnicodeString(LibraryName));
end;
function ReleaseFreetype:integer;
procedure ReleaseFreetype;
begin
if InterlockedDecrement(RefCount) <= 0 then
begin