* BUG: Fix copy & paste error (?) which creates CDATA nodes as comment nodes.



git-svn-id: svn://localhost/gambas/trunk@7637 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Tobias Boege 2016-03-15 17:16:58 +00:00
parent e9f03fe7de
commit c866e8a8ee

View file

@ -302,14 +302,14 @@ CommentNode* XMLComment_New(const char *ncontent, const size_t nlen)
CDATANode* XMLCDATA_New()
{
CommentNode *newComment = XMLTextNode_New();
newComment->type = Node::Comment;
newComment->type = Node::CDATA;
return newComment;
}
CDATANode* XMLCDATA_New(const char *ncontent, const size_t nlen)
{
CommentNode *newComment = XMLTextNode_New(ncontent, nlen);
newComment->type = Node::Comment;
newComment->type = Node::CDATA;
return newComment;
}