From ec4362144bcd953cad9c096ea88b5274e46e9772 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Thu, 27 Feb 2020 10:23:24 +0000 Subject: snapshot of project "lynx", label v2-9-0dev_4o --- src/LYexit.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/LYexit.c') 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(); -- cgit 1.4.1-2-gfad0