From 2e58434e8d8939d8c4b00d3b299d1476d524ab1a Mon Sep 17 00:00:00 2001 From: Jim Derry Date: Sun, 8 Oct 2017 11:30:29 -0400 Subject: [PATCH] Actually, we should only show labels on reports, not dialogue. --- src/messageobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/messageobj.c b/src/messageobj.c index ff3fb62..f5b055c 100644 --- a/src/messageobj.c +++ b/src/messageobj.c @@ -156,7 +156,7 @@ static TidyMessageImpl *tidyMessageCreateInitV( TidyDocImpl *doc, result->messagePos, result->messagePrefix, result->message); - if ( cfgBool(doc, TidySquelchShow) == yes ) + if ( ( cfgBool(doc, TidySquelchShow) == yes ) && level <= TidyFatal ) { TY_(tmbsnprintf)(result->messageOutputDefault, sizeMessageBuf, "%s (%s)", result->messageOutputDefault, TY_(tidyErrorCodeAsKey)(code) ); TY_(tmbsnprintf)(result->messageOutput, sizeMessageBuf, "%s (%s)", result->messageOutput, TY_(tidyErrorCodeAsKey)(code) );