summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2013-08-05 20:35:42 +0000
committermichi_cc <michi_cc@openttd.org>2013-08-05 20:35:42 +0000
commit2702fe88d7fe91188d2821375a5cce2a1a5a63cf (patch)
tree9607e7b39bc4941634031657a5aaf8dae78c6857 /src
parent6d50b1007457da26a11f05a5ba53880907d26cef (diff)
downloadopenttd-2702fe88d7fe91188d2821375a5cce2a1a5a63cf.tar.xz
(svn r25656) -Cleanup: Coding style.
Diffstat (limited to 'src')
-rw-r--r--src/video/cocoa/wnd_quartz.mm13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/video/cocoa/wnd_quartz.mm b/src/video/cocoa/wnd_quartz.mm
index 5d45dcbab..803384005 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