consoletty.c bit

restrict a debugging line
This commit is contained in:
nhmall
2026-04-07 13:59:43 -04:00
parent fdbf84b9b7
commit cf7a514596

View File

@@ -2569,7 +2569,10 @@ void nethack_enter_consoletty(void)
/* srWindow identifies the visible area; dwSize identifies the buffer
*/
width = csbi.srWindow.Right - csbi.srWindow.Left + 1;
fprintf(stdout, "width = %d\n", width);
#ifdef DEBUG
if (NH_DEVEL_STATUS != NH_STATUS_RELEASED)
fprintf(stdout, "width = %d\n", width);
#endif
}
console.hConOut = GetStdHandle(STD_OUTPUT_HANDLE);