X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-ui%2Fcolor.c;h=9a1a65d317c2377d5526b64262073803db5325fc;hp=87a8042ef3a01309ddef75cdc5a22619e502a852;hb=8ab1ab66eb1c4b95f9b2a5ed9c2b2cf1dfa74544;hpb=97f17c26238531632e990b1247a4b09ef6697949 diff --git a/lib-ui/color.c b/lib-ui/color.c index 87a8042..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" @@ -603,7 +600,7 @@ _mutt_parse_color (BUFFER * buf, BUFFER * s, BUFFER * err, ColorDefs[object] = fgbgattr_to_color (fg, bg, attr); if (object == MT_COLOR_NORMAL && !option (OPTNOCURSES) && has_colors ()) - BKGDSET (MT_COLOR_NORMAL); + BKGDSET(main_w, MT_COLOR_NORMAL); return (r); }