From: nethack.allison Date: Fri, 10 Oct 2003 04:53:17 +0000 (+0000) Subject: win32tty bit X-Git-Tag: MOVE2GIT~1725 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=acadeb1c329a83357d4b79fa47a6ac6ca42cb2a2;p=nethack win32tty bit --- 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