X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=alias.c;h=fa83c6fde50fad1494b431de6f9c52cee423a521;hb=d04295aaf918032c1c2fafc94ddf637cf23341e9;hp=49b0cf765b543a3c39ed9da3631724df8732c80a;hpb=dbb9a1e16d03a2d4664d6dc6a30c721b889d4982;p=apps%2Fmadmutt.git diff --git a/alias.c b/alias.c index 49b0cf7..fa83c6f 100644 --- a/alias.c +++ b/alias.c @@ -20,16 +20,17 @@ #include #include #include +#include +#include -#include +#include -#include "lib/rx.h" -#include "lib/debug.h" +#include +#include +#include #include "mutt.h" -#include "enter.h" #include "mutt_idna.h" -#include "mutt_menu.h" #include "sort.h" #define RSORT(x) (SortAlias & SORT_REVERSE) ? -x : x @@ -101,8 +102,8 @@ static address_t *mutt_expand_aliases_r (address_t * a, LIST ** expn) if (pw) { char namebuf[STRING]; - mutt_gecos_name (namebuf, sizeof (namebuf), pw); - m_strreplace (&a->personal, namebuf); + mutt_gecos_name(namebuf, sizeof (namebuf), pw, GecosMask.rx); + m_strreplace(&a->personal, namebuf); } } } @@ -405,7 +406,7 @@ int mutt_alias_complete (char *s, size_t buflen) #define min(a,b) ((aname && strstr (a->name, s) == a->name) {