fix gcc warning parentheses in pprint.c

This commit is contained in:
Geoff R. McLane 2015-11-18 16:47:58 +01:00
parent 768ad46968
commit b98061ff62

View file

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