Commit 12961352d37668cdaf4f5177d97f7432d3518ce4

Sam Lantinga 2013-11-12T02:04:12

Fixed build error with SDK < 10.7

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/video/cocoa/SDL_cocoawindow.m b/src/video/cocoa/SDL_cocoawindow.m
index 4c1f359..6899885 100644
--- a/src/video/cocoa/SDL_cocoawindow.m
+++ b/src/video/cocoa/SDL_cocoawindow.m
@@ -221,7 +221,7 @@ GetWindowStyle(SDL_Window * window)
     [nswindow performSelectorOnMainThread: @selector(toggleFullScreen:) withObject:nswindow waitUntilDone:NO];
     return YES;
 #else
-    return NO
+    return NO;
 #endif /* SDK >= 10.7 */
 }