projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
leftover
[apps/madmutt.git]
/
lib-ui
/
color.c
diff --git
a/lib-ui/color.c
b/lib-ui/color.c
index
584c113
..
9a1a65d
100644
(file)
--- 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.
*/
* 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"
#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);
else
ColorDefs[object] = fgbgattr_to_color (fg, bg, attr);
-#ifdef HAVE_BKGDSET
if (object == MT_COLOR_NORMAL && !option (OPTNOCURSES) && has_colors ())
if (object == MT_COLOR_NORMAL && !option (OPTNOCURSES) && has_colors ())
- BKGDSET (MT_COLOR_NORMAL);
-#endif
+ BKGDSET(main_w, MT_COLOR_NORMAL);
return (r);
}
return (r);
}