From b98061ff62c56d76f043d5a06e82301d3ecc8f9a Mon Sep 17 00:00:00 2001 From: "Geoff R. McLane" Date: Wed, 18 Nov 2015 16:47:58 +0100 Subject: [PATCH] fix gcc warning parentheses in pprint.c --- src/pprint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pprint.c b/src/pprint.c index 7d011e8..20900c7 100644 --- a/src/pprint.c +++ b/src/pprint.c @@ -1027,7 +1027,7 @@ static void PPrintText( TidyDocImpl* doc, uint mode, uint indent, ix = IncrWS( ix, end, indent, ixWS ); } else if (( c == '&' ) && (TY_(HTMLVersion)(doc) == HT50) && - (((ix + 1) == end) || ((ix + 1) < end) && (isspace(doc->lexer->lexbuf[ix+1]))) ) + (((ix + 1) == end) || (((ix + 1) < end) && (isspace(doc->lexer->lexbuf[ix+1])))) ) { /*\ * Issue #207 - This is an unambiguous ampersand need not be 'quoted' in HTML5