diff options
author | Paul Gilbert | 2015-05-31 14:45:10 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-05-31 14:45:10 -0400 |
commit | e5296ebf8dd09f603499b1894a33865ec71bb28f (patch) | |
tree | d7de032efd54dfdb3159cbc778a0c9ce8cd8aa91 /gui/browser_osx.mm | |
parent | 673537bad93f0b440172a0cc263ebf19cc95ffc0 (diff) | |
parent | 141ff4d08dc24b6bb17098bd71801e2a58e6a38f (diff) | |
download | scummvm-rg350-e5296ebf8dd09f603499b1894a33865ec71bb28f.tar.gz scummvm-rg350-e5296ebf8dd09f603499b1894a33865ec71bb28f.tar.bz2 scummvm-rg350-e5296ebf8dd09f603499b1894a33865ec71bb28f.zip |
Merge branch 'master' into phantom
Diffstat (limited to 'gui/browser_osx.mm')
-rw-r--r-- | gui/browser_osx.mm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/browser_osx.mm b/gui/browser_osx.mm index 0e80410032..18cbd134f3 100644 --- a/gui/browser_osx.mm +++ b/gui/browser_osx.mm @@ -154,7 +154,11 @@ int BrowserDialog::runModal() { [showHiddenFilesButton setAction:@selector(showHiddenFiles:)]; } +#if MAC_OS_X_VERSION_MAX_ALLOWED <= 1090 if ([panel runModal] == NSOKButton) { +#else + if ([panel runModal] == NSModalResponseOK) { +#endif NSURL *url = [panel URL]; if ([url isFileURL]) { const char *filename = [[url path] UTF8String]; |