mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-06 02:43:40 +00:00
Init _isFullBridge and cast too BOOL in setFullBridge:
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user