From e787bda52a51c0010451c64669b1700e8e13350d Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Mon, 25 Feb 2002 00:15:56 +0000 Subject: [PATCH] wintty debug bit --- win/tty/wintty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win/tty/wintty.c b/win/tty/wintty.c index ced54c1ed..4d2d4df7d 100644 --- a/win/tty/wintty.c +++ b/win/tty/wintty.c @@ -1612,7 +1612,7 @@ register int x, y; /* not xchar: perhaps xchar is unsigned and cw->curx = --x; /* column 0 is never used */ cw->cury = y; #ifdef DEBUG - if(x<0 || y<0 || y >= cw->rows || x >= cw->cols) { + if(x<0 || y<0 || y >= cw->rows || x > cw->cols) { const char *s = "[unknown type]"; switch(cw->type) { case NHW_MESSAGE: s = "[topl window]"; break;