X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=color.c;h=24afbd47d7d7141468094beeb720e41e8cf98662;hp=2d013e734c86cb7a074bd9d7f2ca98773200e92c;hb=fd204cba10834057df23ba10458d4095b424e964;hpb=6833ce8bdca2d64e14485118f2a4417b7e1cb1b1 diff --git a/color.c b/color.c index 2d013e7..24afbd4 100644 --- a/color.c +++ b/color.c @@ -16,6 +16,10 @@ * 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,7 @@ static struct mapping_t Fields[] = { "bold", MT_COLOR_BOLD }, { "underline", MT_COLOR_UNDERLINE }, { "index", MT_COLOR_INDEX }, + { "sidebar_new", MT_COLOR_NEW }, { NULL, 0 } }; @@ -155,7 +160,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)