summaryrefslogtreecommitdiff
path: root/src/video/cocoa
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-03-14 18:16:29 +0000
committerrubidium <rubidium@openttd.org>2009-03-14 18:16:29 +0000
commit9d018723b7bab3341cd455708a6cd98283d75c34 (patch)
tree52ab96dc0e1aa14f6c966c67c4a94ba1762f9c15 /src/video/cocoa
parent1692ce83122d1ed15206f160aea339761b173174 (diff)
downloadopenttd-9d018723b7bab3341cd455708a6cd98283d75c34.tar.xz
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
Diffstat (limited to 'src/video/cocoa')
-rw-r--r--src/video/cocoa/fullscreen.mm8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video/cocoa/fullscreen.mm b/src/video/cocoa/fullscreen.mm
index 3d97c5263..2b63e0d6e 100644
--- a/src/video/cocoa/fullscreen.mm
+++ b/src/video/cocoa/fullscreen.mm
@@ -379,7 +379,7 @@ class FullscreenSubdriver: public CocoaSubdriver {
* As a result, coordinate translation produces incorrect results.
* We can hack around this bug by setting the screen rect ourselves.
* This hack should be removed if/when the bug is fixed.
- */
+ */
screen_rect = NSMakeRect(0, 0, display_width, display_height);
[ [ NSScreen mainScreen ] setFrame:screen_rect ];
@@ -576,9 +576,9 @@ public:
}
/*
- Convert local coordinate to window server (CoreGraphics) coordinate.
- In fullscreen mode this just means copying the coords.
- */
+ * Convert local coordinate to window server (CoreGraphics) coordinate.
+ * In fullscreen mode this just means copying the coords.
+ */
virtual CGPoint PrivateLocalToCG(NSPoint *p)
{
CGPoint cgp;