diff options
-rw-r--r-- | doc/HISTORY | 3 | ||||
-rw-r--r-- | other/pamx/window.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/doc/HISTORY b/doc/HISTORY index 65a47c43..8aa09a0c 100644 --- a/doc/HISTORY +++ b/doc/HISTORY @@ -8,6 +8,9 @@ not yet BJH Release 10.51.00 Add ppmtoascii. Thanks "Frank Ch. Eigler" <fche@elastic.org>. + pamx: Make exit status 0 instead of 10 when window manager + requests termination. + pnmsmooth: Respect -plain. Thanks Prophet of the Way <afu@wta.att.ne.jp>. 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; |