Mercurial > hg > nnchat
changeset 532:cfab338d3c9e
Stop to show errors when exiting even when not running on Win32.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 06 Jun 2012 18:55:17 +0300 |
parents | 5d1a832d6e61 |
children | 52c56ada3816 |
files | main.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/main.c Wed Jun 06 17:24:08 2012 +0300 +++ b/main.c Wed Jun 06 18:55:17 2012 +0300 @@ -1850,8 +1850,7 @@ // Shutdown err_exit: -#ifdef __WIN32 - if (errorMessages) + if (errorMessages || editState.isError) { char *tmp; printMsg(NULL, "Press enter to exit.\n"); @@ -1859,7 +1858,6 @@ tmp = nnwin_prompt_requester(FALSE, &editState, processUserPrompt, updateUserPrompt); th_free(tmp); } -#endif th_cfg_free(cfg); th_free(setHomeDir);