diff options
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(); |