From 699c31459bc9d6a6a31f51e30e5e280c205a5514 Mon Sep 17 00:00:00 2001 From: nhmall Date: Thu, 9 Apr 2026 10:32:24 -0400 Subject: [PATCH] follow-up: fix placement location --- sys/windows/consoletty.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/windows/consoletty.c b/sys/windows/consoletty.c index bb67541a7..600cc5b13 100644 --- a/sys/windows/consoletty.c +++ b/sys/windows/consoletty.c @@ -2777,10 +2777,11 @@ void nethack_enter_consoletty(void) console.is_ready = TRUE; nhUse(apisuccess); } -#endif /* TTY_GRAPHICS */ RESTORE_WARNING_CONDEXPR_IS_CONSTANT +#endif /* TTY_GRAPHICS */ + /* this is used as a printf() replacement when the window * system isn't initialized yet */