win32tty: Fix an early error message crash

This commit is contained in:
nethack.allison
2003-11-15 00:38:59 +00:00
parent f96fca8005
commit 507e1293e6

View File

@@ -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;
}