Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/access.c
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@ static Bool CompareColors( const int rgbBG[3], const int rgbFG[3] )
* blue = 5.
*********************************************************************/

static Bool GetRgb( ctmbstr color, int rgb[] )
static Bool GetRgb( ctmbstr color, int rgb[3] )
{
uint x;

Expand Down
3 changes: 2 additions & 1 deletion src/attrs.c
Original file line number Diff line number Diff line change
Expand Up @@ -2297,9 +2297,10 @@ static void CheckDecimal( TidyDocImpl* doc, Node *node, AttVal *attval)
{
if (!hasPoint)
hasPoint = yes;
else
else {
TY_(ReportAttrError)( doc, node, attval, BAD_ATTRIBUTE_VALUE);
break;
}
}

if (!TY_(IsDigit)(*p))
Expand Down