carbon: code cleanup

git-svn-id: trunk@27170 -
This commit is contained in:
dmitry 2010-08-23 07:35:36 +00:00
parent b905dfda78
commit dcb7c549f9
2 changed files with 1 additions and 2 deletions

View File

@ -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,

View File

@ -526,7 +526,6 @@ function CarbonFontIDToFontName(ID: ATSUFontID): String;
var
NameLength: LongWord;
FontName: UTF8String;
res: Integer;
const
SName = 'CarbonFontIDToFontName';
begin