mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-08 01:48:04 +00:00
Explicitly test for null cibFont for clarity
This commit is contained in:
1 parent
6b72651a05
commit
32fd03b4a0
1 file changed
+1
-1
@@ -54,7 +54,7 @@
|
||||
else
|
||||
cibFont = [NSFont cibFontForNibFont:[object font]];
|
||||
|
||||
if (![cibFont isEqual:nibFont])
|
||||
if (!cibFont || ![cibFont isEqual:nibFont])
|
||||
{
|
||||
var source = "";
|
||||
|
||||
|
||||
Reference in new issue
Block a user