From: Thomas Roessler Date: Mon, 18 Mar 2002 18:54:56 +0000 (+0000) Subject: Should fix #1115. BACKPORT! X-Git-Tag: mutt-1-5-1-rel~49 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=936215ca04cae53bec118032f16c066d953a0c67;p=mutt Should fix #1115. BACKPORT! --- diff --git a/browser.c b/browser.c index ee55bd33..63f1fac9 100644 --- a/browser.c +++ b/browser.c @@ -970,7 +970,7 @@ void _mutt_select_file (char *f, size_t flen, int flags, char ***files, int *num case OP_ENTER_MASK: - strfcpy (buf, Mask.pattern, sizeof (buf)); + strfcpy (buf, NONULL(Mask.pattern), sizeof (buf)); if (mutt_get_field (_("File Mask: "), buf, sizeof (buf), 0) == 0) { regex_t *rx = (regex_t *) safe_malloc (sizeof (regex_t));