should not produce a red star

This commit is contained in:
Roy Marples
2008-01-21 14:31:21 +00:00
parent a597686ded
commit 28618c8174
2 changed files with 20 additions and 20 deletions

View File

@@ -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);