Nico Golde:
[apps/madmutt.git] / color.c
diff --git a/color.c b/color.c
index 2d013e7..8dda6cf 100644 (file)
--- a/color.c
+++ b/color.c
  *     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"
@@ -89,6 +93,9 @@ static struct mapping_t Fields[] =
   { "bold",            MT_COLOR_BOLD },
   { "underline",       MT_COLOR_UNDERLINE },
   { "index",           MT_COLOR_INDEX },
+  { "sidebar_new",     MT_COLOR_NEW },
+  { "sidebar",      MT_COLOR_SIDEBAR },
+  { "sidebar_flagged", MT_COLOR_FLAGGED },
   { NULL,              0 }
 };
 
@@ -155,7 +162,7 @@ void ci_start_color (void)
 #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)