X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-ui%2Fcolor.c;h=9a1a65d317c2377d5526b64262073803db5325fc;hp=584c113b4bafc1506d507840b45092e2996495f8;hb=8ab1ab66eb1c4b95f9b2a5ed9c2b2cf1dfa74544;hpb=c9b049f668148dab6ae90f32de6a4981f673bfa1 diff --git a/lib-ui/color.c b/lib-ui/color.c index 584c113..9a1a65d 100644 --- a/lib-ui/color.c +++ b/lib-ui/color.c @@ -7,10 +7,7 @@ * please see the file GPL in the top level source directory. */ -#include - -#include "curses.h" - +#include #include "pattern.h" #include "mutt.h" @@ -602,10 +599,8 @@ _mutt_parse_color (BUFFER * buf, BUFFER * s, BUFFER * err, else ColorDefs[object] = fgbgattr_to_color (fg, bg, attr); -#ifdef HAVE_BKGDSET if (object == MT_COLOR_NORMAL && !option (OPTNOCURSES) && has_colors ()) - BKGDSET (MT_COLOR_NORMAL); -#endif + BKGDSET(main_w, MT_COLOR_NORMAL); return (r); }