From ea6cf5fda98d8bcbbd1d0b184783149b86b6f5c8 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Mon, 18 Jul 2011 10:14:04 +0000 Subject: [PATCH] * Use specific exit code for xmessage --- code/sys/sys_unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/sys/sys_unix.c b/code/sys/sys_unix.c index 8ac43f3b..09dcf76e 100644 --- a/code/sys/sys_unix.c +++ b/code/sys/sys_unix.c @@ -614,7 +614,7 @@ static int Sys_XmessageCommand( dialogType_t type, const char *message, const ch 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_OK_CANCEL: options = "-buttons OK:0,Cancel:1"; break; }