Added missing class checks in +initialize, regularized checking code

This commit is contained in:
Aparajita Fishman
2012-06-28 12:05:18 -07:00
parent d923fb56e2
commit cae5486ec6
26 changed files with 60 additions and 36 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ var _CPMenuBarWindowBackgroundColor = nil,
+ (void)initialize
{
if (self != [_CPMenuBarWindow class])
if (self !== [_CPMenuBarWindow class])
return;
var bundle = [CPBundle bundleForClass:self];