Skip to content
Permalink
Browse files

SDL

- fix hint check, we want or not and
  • Loading branch information
alfred-valve committed Jul 31, 2015
1 parent e93f90a commit 0aa2a6df2ca98ed3dd97a508efc8f2b8ca442657
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/video/cocoa/SDL_cocoaevents.m
@@ -320,7 +320,7 @@ - (BOOL)application:(NSApplication *)theApplication openFile:(NSString *)filenam
SDL_assert(NSApp != nil);

const char *hint = SDL_GetHint(SDL_HINT_MAC_BACKGROUND_APP);
if (!hint && *hint != '0') {
if (!hint || *hint != '0') {
#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_6
if ([NSApp respondsToSelector:@selector(setActivationPolicy:)]) {
#endif

0 comments on commit 0aa2a6d

Please sign in to comment.