mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 04:57:03 +00:00
Added missing class checks in +initialize, regularized checking code
This commit is contained in:
@@ -34,7 +34,7 @@ var _CPMenuBarWindowBackgroundColor = nil,
|
||||
|
||||
+ (void)initialize
|
||||
{
|
||||
if (self != [_CPMenuBarWindow class])
|
||||
if (self !== [_CPMenuBarWindow class])
|
||||
return;
|
||||
|
||||
var bundle = [CPBundle bundleForClass:self];
|
||||
|
||||
Reference in New Issue
Block a user