From 1759abf3ae1a38b7578df7996346544b66e508ad Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Wed, 26 Jan 2000 16:43:25 +0000 Subject: Import ncurses-5.0-release to update the 5.0-prerelease that we had. --- contrib/ncurses/panel/p_hide.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'contrib/ncurses/panel/p_hide.c') diff --git a/contrib/ncurses/panel/p_hide.c b/contrib/ncurses/panel/p_hide.c index bc7c192156cf..d61429538440 100644 --- a/contrib/ncurses/panel/p_hide.c +++ b/contrib/ncurses/panel/p_hide.c @@ -36,7 +36,7 @@ */ #include "panel.priv.h" -MODULE_ID("$Id: p_hide.c,v 1.2 1998/02/11 12:14:01 tom Exp $") +MODULE_ID("$Id: p_hide.c,v 1.3 1999/09/29 15:22:32 juergen Exp $") /*+------------------------------------------------------------------------- __panel_unlink(pan) - unlink panel from stack @@ -53,8 +53,7 @@ __panel_unlink(PANEL *pan) return; #endif - _nc_override(pan,P_TOUCH); - _nc_free_obscure(pan); + PANEL_UPDATE(pan,(PANEL*)0); prev = pan->below; next = pan->above; @@ -72,8 +71,6 @@ __panel_unlink(PANEL *pan) if(pan == _nc_top_panel) _nc_top_panel = prev; - _nc_calculate_obscure(); - pan->above = (PANEL *)0; pan->below = (PANEL *)0; dStack("",9,pan); -- cgit v1.2.3