X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=init.c;h=5151f5ad48901f8fc272da5bf3af3233571ca0f4;hp=bb8bedbb9708c46ad2e43e6a04243aa9e212a6bc;hb=d04295aaf918032c1c2fafc94ddf637cf23341e9;hpb=d40d2e47d8033cbf917d09c3865179870897e773 diff --git a/init.c b/init.c index bb8bedb..5151f5a 100644 --- a/init.c +++ b/init.c @@ -2608,7 +2608,8 @@ void mutt_init (int skip_sys_rc, LIST * commands) if (!Homedir) Homedir = m_strdup(pw->pw_dir); - Realname = m_strdup(mutt_gecos_name (rnbuf, sizeof(rnbuf), pw)); + mutt_gecos_name(rnbuf, sizeof(rnbuf), pw, GecosMask.rx); + Realname = m_strdup(rnbuf); Shell = m_strdup(pw->pw_shell); endpwent (); }