projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Nico Golde:
[apps/madmutt.git]
/
color.c
diff --git
a/color.c
b/color.c
index
b322060
..
8dda6cf
100644
(file)
--- a/
color.c
+++ b/
color.c
@@
-16,6
+16,10
@@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "mutt.h"
#include "mutt_curses.h"
#include "mapping.h"
#include "mutt.h"
#include "mutt_curses.h"
#include "mapping.h"
@@
-90,6
+94,8
@@
static struct mapping_t Fields[] =
{ "underline", MT_COLOR_UNDERLINE },
{ "index", MT_COLOR_INDEX },
{ "sidebar_new", MT_COLOR_NEW },
{ "underline", MT_COLOR_UNDERLINE },
{ "index", MT_COLOR_INDEX },
{ "sidebar_new", MT_COLOR_NEW },
+ { "sidebar", MT_COLOR_SIDEBAR },
+ { "sidebar_flagged", MT_COLOR_FLAGGED },
{ NULL, 0 }
};
{ NULL, 0 }
};
@@
-156,7
+162,7
@@
void ci_start_color (void)
#ifdef USE_SLANG_CURSES
static char *get_color_name (char *dest, size_t destlen, int val)
{
#ifdef USE_SLANG_CURSES
static char *get_color_name (char *dest, size_t destlen, int val)
{
- static char * missing[3] = {"brown", "lightgray", ""};
+ static char * missing[3] = {"brown", "lightgray", "
default
"};
int i;
switch (val)
int i;
switch (val)