Changeset 1183:5e57ce3e4317 for color.c

Show
Ignore:
Timestamp:
1999-11-15 04:02:18 (9 years ago)
Author:
Thomas Roessler <roessler@…>
Branch:
mutt-1-0-stable
Message:

A small patch from TE Dickey.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • color.c

    r903 r1183  
    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);