Move the rest of mutt "things" into a window as well.
[apps/madmutt.git] / lib-ui / color.c
index 584c113..9a1a65d 100644 (file)
@@ -7,10 +7,7 @@
  * please see the file GPL in the top level source directory.
  */
 
-#include <lib-lib/lib-lib.h>
-
-#include "curses.h"
-
+#include <lib-ui/lib-ui.h>
 #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);
 }