Optimize delwin a bit
This commit is contained in:
parent
7a1b8974a7
commit
d8cfe10818
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user