consoletty.c bit
restrict a debugging line
This commit is contained in:
@@ -2569,7 +2569,10 @@ void nethack_enter_consoletty(void)
|
|||||||
/* srWindow identifies the visible area; dwSize identifies the buffer
|
/* srWindow identifies the visible area; dwSize identifies the buffer
|
||||||
*/
|
*/
|
||||||
width = csbi.srWindow.Right - csbi.srWindow.Left + 1;
|
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);
|
console.hConOut = GetStdHandle(STD_OUTPUT_HANDLE);
|
||||||
|
|||||||
Reference in New Issue
Block a user