diff -u nano/nano.c nano-mxleak/nano.c --- nano/nano.c Sat Jan 25 20:53:49 2003 +++ nano-mxleak/nano.c Sat Jan 25 20:53:43 2003 @@ -232,6 +232,13 @@ if ((editwinrows = LINES - 5 + no_help()) < MIN_EDITOR_ROWS) die_too_small(); + if (edit != NULL) + delwin(edit); + if (topwin != NULL) + delwin(topwin); + if (bottomwin != NULL) + delwin(bottomwin); + /* Set up the main text window */ edit = newwin(editwinrows, COLS, 2, 0);