Init _isFullBridge and cast too BOOL in setFullBridge:

This commit is contained in:
Tom Robinson
2009-02-21 21:56:24 -08:00
parent 415e826a73
commit 8b36cddd9c
+4
View File
@@ -347,6 +347,8 @@ CPTexturedBackgroundWindowMask
if (self)
{
_isFullBridge = NO;
// Set up our window number.
_windowNumber = [CPApp._windows count];
CPApp._windows[_windowNumber] = self;
@@ -457,6 +459,8 @@ CPTexturedBackgroundWindowMask
- (void)setFullBridge:(BOOL)shouldBeFullBridge
{
shouldBeFullBridge = !!shouldBeFullBridge;
if (_isFullBridge === shouldBeFullBridge)
return;