X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=init.c;h=2bc7e2a37a9617cfc35db1397cdd012ba7d113b3;hb=a548b928816889f8f2aa5bfe8f755d8234ce19db;hp=0728ffee6468d582525db911a850e49b8d8f4dc0;hpb=c7ceecd31e97891dd5cf48536d4bddf2c1d7d9dd;p=apps%2Fmadmutt.git diff --git a/init.c b/init.c index 0728ffe..2bc7e2a 100644 --- a/init.c +++ b/init.c @@ -1238,7 +1238,8 @@ static void mutt_restore_default (struct option_t *p) FREE (&pp->pattern); regfree (pp->rx); FREE (&pp->rx); - } + } else + mutt_str_replace (&pp->pattern, (char*) p->init); } } break;