From acadeb1c329a83357d4b79fa47a6ac6ca42cb2a2 Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Fri, 10 Oct 2003 04:53:17 +0000 Subject: [PATCH] win32tty bit --- sys/winnt/nttty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/winnt/nttty.c b/sys/winnt/nttty.c index a8bc29208..d2268236b 100644 --- a/sys/winnt/nttty.c +++ b/sys/winnt/nttty.c @@ -656,7 +656,7 @@ term_start_color(int color) { #ifdef TEXTCOLOR if (color >= 0 && color < CLR_MAX) { - foreground = (background != 0 && (color == CLR_GRAY | color == CLR_WHITE)) ? + foreground = (background != 0 && (color == CLR_GRAY || color == CLR_WHITE)) ? ttycolors[0] : ttycolors[color]; } #else