From 2df1b179ca0498b4a4fe2d3996a4f4282c13ef93 Mon Sep 17 00:00:00 2001 From: Bart House Date: Sun, 14 Jul 2019 21:13:18 -0700 Subject: [PATCH] Revert "Removing assertion that does not hold under all scenarios." This reverts commit c44ad5645d90267e7ed1d1a6c57acc1437dca10e. --- win/tty/topl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win/tty/topl.c b/win/tty/topl.c index 74331dece..cfd17838d 100644 --- a/win/tty/topl.c +++ b/win/tty/topl.c @@ -259,7 +259,7 @@ register const char *bp; && cw->cury == 0 && n0 + (int) strlen(toplines) + 3 < CO - 8 /* room for --More-- */ && (notdied = strncmp(bp, "You die", 7)) != 0) { - /* nhassert((long) strlen(toplines) == cw->curx); */ + nhassert((long) strlen(toplines) == cw->curx); Strcat(toplines, " "); Strcat(toplines, bp); cw->curx += 2;