From: Pasi Kallinen Date: Sun, 1 Nov 2015 18:49:32 +0000 (+0200) Subject: Actually destroy the character selection window X-Git-Tag: NetHack-3.6.0_RC01~104 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e022486cdc839250f2a2f178942ca5bc121c4340;p=nethack Actually destroy the character selection window --- diff --git a/win/tty/wintty.c b/win/tty/wintty.c index 105735d5f..610789e80 100644 --- a/win/tty/wintty.c +++ b/win/tty/wintty.c @@ -788,6 +788,7 @@ makepicks: choice = (n > 0) ? selected[n - 1].item.a_int : (n == 0) ? 1 : -1; if (selected) free((genericptr_t) selected), selected = 0; + destroy_nhwindow(win); switch (choice) { default: /* 'q' or ESC */