From 507e1293e676283f3d7595087b127c116fab46de Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Sat, 15 Nov 2003 00:38:59 +0000 Subject: [PATCH] win32tty: Fix an early error message crash --- sys/winnt/nttty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/winnt/nttty.c b/sys/winnt/nttty.c index 4035797b9..4a13cb1fd 100644 --- a/sys/winnt/nttty.c +++ b/sys/winnt/nttty.c @@ -936,7 +936,7 @@ msmsg VA_DECL(const char *, fmt) Vsprintf(buf, fmt, VA_ARGS); VA_END(); xputs(buf); - curs(BASE_WINDOW, cursor.X+1, cursor.Y); + if (ttyDisplay) curs(BASE_WINDOW, cursor.X+1, cursor.Y); return; }