From 0d83646490348c9730d62ee47ad9c8c0e6461a62 Mon Sep 17 00:00:00 2001 From: pdmef Date: Tue, 15 Mar 2005 14:27:58 +0000 Subject: [PATCH] Rocco Rutte: fix queries of default regexps (bug reported by Andreas Kneib) git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@180 e385b8ad-14ed-0310-8656-cc95a2468c6d --- init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.20.1