* Use specific exit code for xmessage

This commit is contained in:
Tim Angus 2011-07-18 10:14:04 +00:00
parent 8a831d34ab
commit ea6cf5fda9

View file

@ -614,7 +614,7 @@ static int Sys_XmessageCommand( dialogType_t type, const char *message, const ch
switch( type ) switch( type )
{ {
default: options = "-buttons OK"; break; default: options = "-buttons OK:0"; break;
case DT_YES_NO: options = "-buttons Yes:0,No:1"; break; case DT_YES_NO: options = "-buttons Yes:0,No:1"; break;
case DT_OK_CANCEL: options = "-buttons OK:0,Cancel:1"; break; case DT_OK_CANCEL: options = "-buttons OK:0,Cancel:1"; break;
} }