From 8d6c08b7e2cbfb168db0bb4aab250ab46cf623ee Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Wed, 26 Jan 2005 14:33:08 +0000 Subject: [PATCH] And, thinking about it further, this should just be an empty string, not "(null)". --- status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.40.0