Addressed PR suggestions
This commit is contained in:
parent
2fef57fffa
commit
3d06d07516
5 changed files with 9 additions and 11 deletions
|
@ -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: NSCriticalAlertStyle];
|
||||
else
|
||||
[alert setAlertStyle: NSWarningAlertStyle];
|
||||
if( type == DT_ERROR )
|
||||
[alert setAlertStyle: NSCriticalAlertStyle];
|
||||
else
|
||||
[alert setAlertStyle: NSWarningAlertStyle];
|
||||
|
||||
switch( type )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue