From 28618c81743d9a55fcde2dc19cdcaec8b16fdd45 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 21 Jan 2008 14:31:21 +0000 Subject: should not produce a red star --- src/libeinfo/libeinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libeinfo/libeinfo.c') diff --git a/src/libeinfo/libeinfo.c b/src/libeinfo/libeinfo.c index 8f1b73f6..6ee0a0a6 100644 --- a/src/libeinfo/libeinfo.c +++ b/src/libeinfo/libeinfo.c @@ -816,7 +816,7 @@ static int _do_eend (const char *cmd, int retval, const char *__EINFO_RESTRICT f FILE *fp = stdout; va_list apc; - if (fmt && retval != 0) { + if (fmt && strlen (fmt) > 0 && retval != 0) { va_copy (apc, ap); if (strcmp (cmd, "ewend") == 0) { col = _ewarnvn (fmt, apc); -- cgit v1.2.3