Closed lbinic closed 3 weeks ago
266 if (node && node->type == MXML_TYPE_ELEMENT && node->child && node->child->type == MXML_TYPE_COMMENT) 267 node = node->child; 268 269 if (!node || node->type != MXML_TYPE_COMMENT)
We are in mxmlSetDeclarationf(), so probably it is MXML_TYPE_DECLARATION instead of MXML_TYPE_COMMENT.
Whoops, yes that needs to be fixed.
[master 0c97db4] Fixed mxmlSetDeclarationf implementation (Issue #322)
We are in mxmlSetDeclarationf(), so probably it is MXML_TYPE_DECLARATION instead of MXML_TYPE_COMMENT.