projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reimplement mutt_gecos_name.
[apps/madmutt.git]
/
alias.c
diff --git
a/alias.c
b/alias.c
index
cefe0ec
..
fa83c6f
100644
(file)
--- a/
alias.c
+++ b/
alias.c
@@
-23,6
+23,8
@@
#include <lib-lib/debug.h>
#include <lib-lib/rx.h>
#include <lib-lib/debug.h>
#include <lib-lib/rx.h>
+#include <lib-sys/unix.h>
+
#include <lib-ui/curses.h>
#include <lib-ui/enter.h>
#include <lib-ui/menu.h>
#include <lib-ui/curses.h>
#include <lib-ui/enter.h>
#include <lib-ui/menu.h>
@@
-100,8
+102,8
@@
static address_t *mutt_expand_aliases_r (address_t * a, LIST ** expn)
if (pw) {
char namebuf[STRING];
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);
}
}
}
}
}
}