Changeset 1370:51b25c49c0c4 for color.c

Show
Ignore:
Timestamp:
1999-11-15 04:02:31 (9 years ago)
Author:
Thomas Roessler <roessler@…>
Branch:
HEAD
Message:

Small color fix from T. E. Dickey.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • color.c

    r1096 r1370  
    704704#ifdef HAVE_COLOR 
    705705# ifdef HAVE_USE_DEFAULT_COLORS 
    706   if (has_colors() && use_default_colors () != OK  
    707       && (fg == COLOR_DEFAULT || bg == COLOR_DEFAULT)) 
     706  if (has_colors() 
     707    /* delay use_default_colors() until needed, since it initializes things */ 
     708    && (fg == COLOR_DEFAULT || bg == COLOR_DEFAULT) 
     709    && use_default_colors () != OK) 
    708710  { 
    709711    strfcpy (err->data, _("default colors not supported"), err->dsize);