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
commitf3e0fd741679ff8c447277ec32ff5caf0571fe36 (patch)
tree52ab96dc0e1aa14f6c966c67c4a94ba1762f9c15 /src/video/cocoa
parent81361189caa5b90236b67ed5b32b3b4f0bb00f3e (diff)
downloadopenttd-f3e0fd741679ff8c447277ec32ff5caf0571fe36.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;