From: Thomas Roessler <roessler@does-not-exist.org>
Date: Wed, 26 Jan 2005 14:33:08 +0000 (+0000)
Subject: And, thinking about it further, this should just be an empty string,
X-Git-Tag: mutt-1-5-7-rel~40
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8d6c08b7e2cbfb168db0bb4aab250ab46cf623ee;p=mutt

And, thinking about it further, this should just be an empty string,
not "(null)".
---

diff --git a/status.c b/status.c
index 73d0d50f..382f1318 100644
--- a/status.c
+++ b/status.c
@@ -266,7 +266,7 @@ status_format_str (char *buf, size_t buflen, char op, const char *src,
       if (!optional)
       {
 	snprintf (fmt, sizeof(fmt), "%%%ss", prefix);
-	snprintf (buf, buflen, fmt, (Context && Context->pattern) ? Context->pattern : "(null)");
+	snprintf (buf, buflen, fmt, (Context && Context->pattern) ? Context->pattern : "");
       }
       else if (!Context || !Context->pattern)
 	optional = 0;