Browse Source

Fixed build error with SDK < 10.7

Sam Lantinga 12 năm trước cách đây
mục cha
commit
12961352d3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/video/cocoa/SDL_cocoawindow.m

+ 1 - 1
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 */
 }