mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-28 19:08:50 +00:00
Refs #1266. Minor optimisation.
This commit is contained in:
1 parent
533dbbfc69
commit
ec5c0e361d
1 file changed
+1
-1
@@ -70,7 +70,7 @@ var IBDefaultFontFace = @"Lucida Grande",
|
||||
if (size === IBDefaultFontSize && !bold && !italic)
|
||||
return nil;
|
||||
else
|
||||
return [[CPFont alloc] _initWithName:[CPFont systemFontFace] size:size bold:[aFont isBold] italic:[aFont isItalic]];
|
||||
return [[CPFont alloc] _initWithName:[CPFont systemFontFace] size:size bold:bold italic:italic];
|
||||
}
|
||||
|
||||
return [aFont copy];
|
||||
|
||||
Reference in new issue
Block a user