From: nethack.rankin Date: Sat, 28 Sep 2002 09:35:22 +0000 (+0000) Subject: build fix X-Git-Tag: MOVE2GIT~2403 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=737294a5176d79f4fbcc1d4c38700c859b554992;p=nethack build fix --- diff --git a/win/tty/wintty.c b/win/tty/wintty.c index 8990483e1..a08028887 100644 --- a/win/tty/wintty.c +++ b/win/tty/wintty.c @@ -1,4 +1,4 @@ -/* SCCS Id: @(#)wintty.c 3.4 2002/08/04 */ +/* SCCS Id: @(#)wintty.c 3.4 2002/09/27 */ /* Copyright (c) David Cohrs, 1991 */ /* NetHack may be freely redistributed. See license for details. */ @@ -2447,11 +2447,13 @@ tty_print_glyph(window, x, y, glyph) if (reverse_on) { term_end_attr(ATR_INVERSE); +#ifdef TEXTCOLOR /* turn off color as well, ATR_INVERSE may have done this already */ if(ttyDisplay->color != NO_COLOR) { term_end_color(); ttyDisplay->color = NO_COLOR; } +#endif } wins[window]->curx++; /* one character over */