X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=color.c;h=81adfbb584a159c427df50428856572fe419a3a2;hp=3bee605fc720bfc1510e062169c2a48f6ebb3ab7;hb=7f7a0be369840b290248e5b0302beb447fa1b3cd;hpb=9a1efcc01ddeca4106847f8eb28a704aca2dcf0b diff --git a/color.c b/color.c index 3bee605..81adfbb 100644 --- a/color.c +++ b/color.c @@ -12,6 +12,7 @@ #endif #include +#include #include #include "mutt.h" @@ -20,7 +21,6 @@ #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;