summaryrefslogtreecommitdiff
path: root/src/sys
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2011-07-18 10:14:04 +0000
committerTim Angus <tim@ngus.net>2013-01-10 22:30:00 +0000
commit9e533363b2d466a6260c0558ccb13dccad7dd2c4 (patch)
treebe823ab558613d153aca7f20ad10c6ee8ee731d0 /src/sys
parentfb482881f216792ebfb1b8ad6bb6ea5dc272b450 (diff)
* Use specific exit code for xmessage
Diffstat (limited to 'src/sys')
-rw-r--r--src/sys/sys_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/sys_unix.c b/src/sys/sys_unix.c
index 72ca8360..014975c0 100644
--- a/src/sys/sys_unix.c
+++ b/src/sys/sys_unix.c
@@ -607,7 +607,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;
}