From bf5866719322bad0f4662a69d59b2ece85987a17 Mon Sep 17 00:00:00 2001 From: Tom Kidd Date: Sat, 26 Jun 2021 22:50:43 -0500 Subject: [PATCH] Reverting alert style to deprecated methods Until I can find a way to branch around this in a way Xcode 3 is cool with we'll just have to use the deprecated version --- code/sys/sys_osx.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/sys/sys_osx.m b/code/sys/sys_osx.m index bb89f319..1b3796fb 100644 --- a/code/sys/sys_osx.m +++ b/code/sys/sys_osx.m @@ -49,10 +49,10 @@ dialogResult_t Sys_Dialog( dialogType_t type, const char *message, const char *t [alert setMessageText: [NSString stringWithUTF8String: title]]; [alert setInformativeText: [NSString stringWithUTF8String: message]]; - if( type == DT_ERROR ) - [alert setAlertStyle: NSAlertStyleCritical]; - else - [alert setAlertStyle: NSAlertStyleWarning]; + if( type == DT_ERROR ) + [alert setAlertStyle: NSCriticalAlertStyle]; + else + [alert setAlertStyle: NSWarningAlertStyle]; switch( type ) {