mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 16:09:41 +02:00
carbon: code cleanup
git-svn-id: trunk@27170 -
This commit is contained in:
parent
b905dfda78
commit
dcb7c549f9
@ -1222,7 +1222,7 @@ begin
|
||||
else H := ALogFont.lfHeight;
|
||||
|
||||
Attr := kATSUSizeTag;
|
||||
M := Abs(ALogFont.lfHeight) shl 16;
|
||||
M := Abs(H) shl 16;
|
||||
A := @M;
|
||||
S := SizeOf(M);
|
||||
OSError(ATSUSetAttributes(Result, 1, @Attr, @S, @A), Self, SName,
|
||||
|
@ -526,7 +526,6 @@ function CarbonFontIDToFontName(ID: ATSUFontID): String;
|
||||
var
|
||||
NameLength: LongWord;
|
||||
FontName: UTF8String;
|
||||
res: Integer;
|
||||
const
|
||||
SName = 'CarbonFontIDToFontName';
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user