]> granicus.if.org Git - neomutt/commitdiff
Suspected fix for #837.
authorThomas Roessler <roessler@does-not-exist.org>
Wed, 24 Oct 2001 11:08:22 +0000 (11:08 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Wed, 24 Oct 2001 11:08:22 +0000 (11:08 +0000)
complete.c

index 04be8d8b0e20e74bc5a58aaa6b4881d1cafbbf45..2aa2744d52adf75dd9056fc40278daa3693e8de2 100644 (file)
@@ -51,9 +51,9 @@ int mutt_complete (char *s, size_t slen)
   if (*s == '=' || *s == '+' || *s == '!')
   {
     if (*s == '!')
-      p = Spoolfile;
+      p = NONULL (Spoolfile);
     else
-      p = Maildir;
+      p = NONULL (Maildir);
     if (s[1])
     {
       /* don't append '/' if Maildir/Spoolfile is {host} only */