]> granicus.if.org Git - mutt/commitdiff
And, thinking about it further, this should just be an empty string,
authorThomas Roessler <roessler@does-not-exist.org>
Wed, 26 Jan 2005 14:33:08 +0000 (14:33 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Wed, 26 Jan 2005 14:33:08 +0000 (14:33 +0000)
not "(null)".

status.c

index 73d0d50f082b5c0285eb3f05bb29e49db645353b..382f13181817d9951ac81fc8bd4ee24eca5b6e62 100644 (file)
--- 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;