X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=lib-ui%2Fcolor.c;h=a9ee64a705d00c48da6ff743debab27c35e4179c;hp=ca0ab98a49a0c0efa79c5d313a1c04ffe990f49b;hb=f3cbb9f51357972f6e74244494236a41dc4d84cd;hpb=23e6291cb5d5b4cd2008403d8b628007fd75ff23 diff --git a/lib-ui/color.c b/lib-ui/color.c index ca0ab98..a9ee64a 100644 --- a/lib-ui/color.c +++ b/lib-ui/color.c @@ -7,23 +7,11 @@ * please see the file GPL in the top level source directory. */ -#if HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include - -#include -#include -#include -#include -#include -#include +#include #include "curses.h" +#include "pattern.h" #include "mutt.h" /* globals */ @@ -124,7 +112,7 @@ static void mutt_free_color_line (COLOR_LINE ** l, int free_colors) */ regfree (&tmp->rx); - mutt_pattern_free (&tmp->color_pattern); + pattern_list_wipe(&tmp->color_pattern); p_delete(&tmp->pattern); p_delete(l); }