diff options
Diffstat (limited to 'lib/libcurses/base/lib_dft_fgbg.c')
-rw-r--r-- | lib/libcurses/base/lib_dft_fgbg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libcurses/base/lib_dft_fgbg.c b/lib/libcurses/base/lib_dft_fgbg.c index b695b6d7f1e..bad566299e4 100644 --- a/lib/libcurses/base/lib_dft_fgbg.c +++ b/lib/libcurses/base/lib_dft_fgbg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lib_dft_fgbg.c,v 1.4 2000/03/26 16:45:03 millert Exp $ */ +/* $OpenBSD: lib_dft_fgbg.c,v 1.5 2000/06/19 03:53:41 millert Exp $ */ /**************************************************************************** * Copyright (c) 1998,1999,2000 Free Software Foundation, Inc. * @@ -35,7 +35,7 @@ #include <curses.priv.h> #include <term.h> -MODULE_ID("$From: lib_dft_fgbg.c,v 1.10 2000/03/26 03:08:53 Alexander.V.Lukyanov Exp $") +MODULE_ID("$From: lib_dft_fgbg.c,v 1.11 2000/05/07 01:26:06 tom Exp $") /* * Modify the behavior of color-pair 0 so that the library doesn't assume that @@ -64,7 +64,7 @@ assume_default_colors(int fg, int bg) returnCode(ERR); SP->_default_color = (fg != COLOR_WHITE) || (bg != COLOR_BLACK); - SP->_has_sgr_39_49 = tigetflag("AX"); + SP->_has_sgr_39_49 = (tigetflag("AX") == TRUE); SP->_default_fg = (fg >= 0) ? (fg & C_MASK) : C_MASK; SP->_default_bg = (bg >= 0) ? (bg & C_MASK) : C_MASK; if (SP->_color_pairs != 0) |