diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2020-02-27 10:23:24 +0000 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2020-02-27 10:23:24 +0000 |
commit | ec4362144bcd953cad9c096ea88b5274e46e9772 (patch) | |
tree | fb2d38f0dc22f265d384bcc1af9eb696e18d070e /src/LYexit.c | |
parent | 48ab6b47540d90cfeb5b320294cf904b5dbb520b (diff) | |
download | lynx-snapshots-ec4362144bcd953cad9c096ea88b5274e46e9772.tar.gz |
snapshot of project "lynx", label v2-9-0dev_4o
Diffstat (limited to 'src/LYexit.c')
-rw-r--r-- | src/LYexit.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/LYexit.c b/src/LYexit.c index b266117f..8b94048a 100644 --- a/src/LYexit.c +++ b/src/LYexit.c @@ -1,5 +1,5 @@ /* - * $LynxId: LYexit.c,v 1.37 2018/03/21 00:50:51 tom Exp $ + * $LynxId: LYexit.c,v 1.38 2020/02/25 10:14:48 tom Exp $ * * Copyright (c) 1994, University of Kansas, All Rights Reserved * (most of this file was rewritten in 1996 and 2004). @@ -164,7 +164,9 @@ void LYexit(int status) show_alloc(); #if defined(NCURSES_VERSION) && defined(LY_FIND_LEAKS) -#if defined(HAVE__NC_FREE_AND_EXIT) +#if defined(HAVE_CURSES_EXIT) + curses_exit(status); +#elif defined(HAVE__NC_FREE_AND_EXIT) _nc_free_and_exit(status); #elif defined(HAVE__NC_FREEALL) _nc_freeall(); |