From: Bart House Date: Mon, 15 Jul 2019 04:16:59 +0000 (-0700) Subject: Revert "Added assertions to check toplin state." X-Git-Tag: v3.6.3.757eca7~110 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=988d474d426e8e8dace97475dcf8b31787c4a062;p=nethack Revert "Added assertions to check toplin state." This reverts commit 1db45c8016484114841f39ffe70c8d9cdd1ad92c. --- diff --git a/win/tty/wintty.c b/win/tty/wintty.c index 63861d62b..6d5042f8e 100644 --- a/win/tty/wintty.c +++ b/win/tty/wintty.c @@ -2321,7 +2321,7 @@ boolean blocking; /* with ttys, all windows are blocking */ more(); ttyDisplay->toplin = TOPLINE_NEED_MORE; /* more resets this */ tty_clear_nhwindow(window); - nhassert(ttyDisplay->toplin == TOPLINE_EMPTY); + /* nhassert(ttyDisplay->toplin == TOPLINE_EMPTY); */ } else ttyDisplay->toplin = TOPLINE_EMPTY; cw->curx = cw->cury = 0; @@ -2409,7 +2409,7 @@ winid window; case NHW_MESSAGE: if (ttyDisplay->toplin != TOPLINE_EMPTY) tty_display_nhwindow(WIN_MESSAGE, TRUE); - nhassert(ttyDisplay->toplin == TOPLINE_EMPTY); + /* nhassert(ttyDisplay->toplin == TOPLINE_EMPTY); */ /*FALLTHRU*/ case NHW_STATUS: case NHW_BASE: @@ -3164,7 +3164,7 @@ const char *mesg; more(); ttyDisplay->toplin = TOPLINE_NEED_MORE; /* more resets this */ tty_clear_nhwindow(WIN_MESSAGE); - nhassert(ttyDisplay->toplin == TOPLINE_EMPTY); + /* nhassert(ttyDisplay->toplin == TOPLINE_EMPTY); */ } /* normally means skip further messages, but in this case it means cancel the current prompt; any other messages should