Mercurial > hg > openttd
changeset 20681:eda0607222af draft
-Cleanup: Coding style.
author | Michael Lutz <michi@icosahedron.de> |
---|---|
date | Sun, 28 Jul 2013 22:03:45 +0200 |
parents | bee44b68965c |
children | 47e080672367 |
files | src/video/cocoa/wnd_quartz.mm |
diffstat | 1 files changed, 6 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/src/video/cocoa/wnd_quartz.mm +++ b/src/video/cocoa/wnd_quartz.mm @@ -290,16 +290,15 @@ 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