X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=color.c;h=ab2a5002fcee2b948fd377ad9a486c334f6d513e;hp=3bee605fc720bfc1510e062169c2a48f6ebb3ab7;hb=d4483b5add8d25008c305b51729f4a53bccfaab8;hpb=9a1efcc01ddeca4106847f8eb28a704aca2dcf0b diff --git a/color.c b/color.c index 3bee605..ab2a500 100644 --- a/color.c +++ b/color.c @@ -12,15 +12,15 @@ #endif #include +#include +#include #include #include "mutt.h" #include "buffer.h" -#include "ascii.h" #include "mutt_curses.h" #include "mapping.h" -#include "lib/str.h" #include "lib/debug.h" #include @@ -510,7 +510,7 @@ add_pattern (COLOR_LINE ** top, const char *s, int sensitive, return (-1); } tmp->next = *top; - tmp->pattern = str_dup (s); + tmp->pattern = m_strdup(s); #ifdef HAVE_COLOR if (fg != -1 && bg != -1) { tmp->fg = fg;