From 68c9baa61784b7c1e2587e8d6f65758dd206f02b Mon Sep 17 00:00:00 2001 From: giraffedata Date: Mon, 26 Apr 2010 06:38:08 +0000 Subject: Make exit status 0 instead of 10 when window manager requests termination git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1201 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- other/pamx/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'other/pamx') diff --git a/other/pamx/window.c b/other/pamx/window.c index 2eb48241..1a91416a 100644 --- a/other/pamx/window.c +++ b/other/pamx/window.c @@ -1079,7 +1079,7 @@ retvalueFromExitReason(exitReason const exitReason) { switch (exitReason) { case EXIT_NONE: assert(false); break; case EXIT_QUIT: retval = 0; break; - case EXIT_WM_KILL: retval = 10; break; + case EXIT_WM_KILL: retval = 0; break; case EXIT_DESTROYED: retval = 20; break; } return retval; -- cgit 1.4.1