Optimize delwin a bit

This commit is contained in:
ache 1994-10-26 07:13:51 +00:00
parent f8fd9378cf
commit 5ab561d752

View File

@ -27,9 +27,10 @@ int i;
free(win->_firstchar);
free(win->_lastchar);
free(win->_line);
free(win);
touchwin(curscr);
touchwin((win->_flags & _SUBWIN) ? win->_parent : curscr);
free(win);
return(OK);
}