mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-06 09:02:50 +00:00
fix typesetter nil bug
This commit is contained in:
1 parent
e40a698d1a
commit
b0ef077e48
1 file changed
+1
-1
@@ -148,7 +148,7 @@ var CPSystemTypesetterFactory;
|
||||
|
||||
+ (id)sharedInstance
|
||||
{
|
||||
if (_sharedSimpleTypesetter === nil)
|
||||
if (!_sharedSimpleTypesetter)
|
||||
_sharedSimpleTypesetter = [[CPSimpleTypesetter alloc] init];
|
||||
|
||||
return _sharedSimpleTypesetter;
|
||||
|
||||
Reference in new issue
Block a user