Refs #1266. Minor optimisation.

This commit is contained in:
Alexander Ljungberg committed 2011-05-17 00:38:39 -04:00
1 parent 533dbbfc69
commit ec5c0e361d
1 file changed
+1 -1
+1 -1
View File
@@ -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];