Merge pull request #360 from sria91/master
fixed a NULL node bug in debug build
This commit is contained in:
commit
328308cbb5
|
@ -133,7 +133,7 @@ static void Show_Node( TidyDocImpl* doc, const char *msg, Node *node )
|
||||||
SPRTF("> %s\n", lex ? "lexer" : "stream");
|
SPRTF("> %s\n", lex ? "lexer" : "stream");
|
||||||
} else {
|
} else {
|
||||||
SPRTF("Returning %s node %p <%s>... %s\n", msg, node,
|
SPRTF("Returning %s node %p <%s>... %s\n", msg, node,
|
||||||
node->element ? node->element : "blank",
|
node ? node->element ? node->element : "blank" : "NULL",
|
||||||
lex ? "lexer" : "stream");
|
lex ? "lexer" : "stream");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue