From 80c08334ab805b3a17a462666a079ec497fe408a Mon Sep 17 00:00:00 2001 From: nhmall Date: Fri, 24 Apr 2026 22:02:15 -0400 Subject: [PATCH] yet another Windows follow-up --- sys/windows/consoletty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/windows/consoletty.c b/sys/windows/consoletty.c index 1c748b60c..9ffdc5880 100644 --- a/sys/windows/consoletty.c +++ b/sys/windows/consoletty.c @@ -361,8 +361,8 @@ void win32con_toggle_cursor_info(void); static int32 colortable_to_bgr_int32(const struct nethack_color *tbl) { - int32 rgbint32 = (tbl->r << 0) | (tbl->g << 8) | (tbl->b << 16); - return rgbint32; + int32 bgrint32 = (tbl->r << 0) | (tbl->g << 8) | (tbl->b << 16); + return bgrint32; } #define rgbtable_offset 16