From 2702fe88d7fe91188d2821375a5cce2a1a5a63cf Mon Sep 17 00:00:00 2001 From: michi_cc Date: Mon, 5 Aug 2013 20:35:42 +0000 Subject: [PATCH] (svn r25656) -Cleanup: Coding style. --- src/video/cocoa/wnd_quartz.mm | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/video/cocoa/wnd_quartz.mm b/src/video/cocoa/wnd_quartz.mm index 5d45dcbab3..8033840052 100644 --- a/src/video/cocoa/wnd_quartz.mm +++ b/src/video/cocoa/wnd_quartz.mm @@ -290,16 +290,15 @@ bool WindowQuartzSubdriver::SetVideoMode(int width, int height, int bpp) const int NSWindowCollectionBehaviorFullScreenPrimary = 1 << 7; const int NSWindowFullScreenButton = 7; - NSWindowCollectionBehavior behavior = [this->window collectionBehavior]; + NSWindowCollectionBehavior behavior = [ this->window collectionBehavior ]; behavior |= NSWindowCollectionBehaviorFullScreenPrimary; - [window setCollectionBehavior:behavior]; + [ this->window setCollectionBehavior:behavior ]; - NSButton* fullscreenButton = - [this->window standardWindowButton:NSWindowFullScreenButton]; - [fullscreenButton setAction:@selector(toggleFullScreen:)]; - [fullscreenButton setTarget:this->window]; + NSButton* fullscreenButton = [ this->window standardWindowButton:NSWindowFullScreenButton ]; + [ fullscreenButton setAction:@selector(toggleFullScreen:) ]; + [ fullscreenButton setTarget:this->window ]; - [this->window setCollectionBehavior: NSWindowCollectionBehaviorFullScreenPrimary]; + [ this->window setCollectionBehavior: NSWindowCollectionBehaviorFullScreenPrimary ]; } #endif