mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-30 12:50:51 +00:00
GUI: use newer define for OS X 10.10+
This commit is contained in:
parent
be489328dd
commit
9649e919e3
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user