summaryrefslogtreecommitdiff
path: root/src/video
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2011-09-19 05:37:11 +0000
committerplanetmaker <planetmaker@openttd.org>2011-09-19 05:37:11 +0000
commit6a72d64dbe57c34b6d9912dba456a2f407c4992b (patch)
treebd8273eed99472b1a71d65740cc20ba2e1a056e7 /src/video
parentdb50cf91688c3997b81b100650c602bca0e02eac (diff)
downloadopenttd-6a72d64dbe57c34b6d9912dba456a2f407c4992b.tar.xz
(svn r22943) -Fix: [OSX] Typo broke debug compilation
Diffstat (limited to 'src/video')
-rw-r--r--src/video/cocoa/cocoa_v.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/cocoa/cocoa_v.mm b/src/video/cocoa/cocoa_v.mm
index 8f7767c8a..6e5988c91 100644
--- a/src/video/cocoa/cocoa_v.mm
+++ b/src/video/cocoa/cocoa_v.mm
@@ -305,7 +305,7 @@ static CocoaSubdriver *QZ_CreateSubdriver(int width, int height, int bpp, bool f
#ifdef _DEBUG
/* This Fullscreen mode crashes on OSX 10.7 */
- if !(MacOSVersionIsAtLeast(10, 7, 0) {
+ if (!MacOSVersionIsAtLeast(10, 7, 0)) {
/* Try fullscreen too when in debug mode */
DEBUG(driver, 0, "Setting video mode failed, falling back to 640x480 fullscreen mode.");
ret = QZ_CreateFullscreenSubdriver(640, 480, bpp);