fix compilation on newer mxml

This commit is contained in:
Daryl Borth 2023-07-30 13:31:45 -06:00
parent 289bcb5d29
commit 9598406749

View File

@ -130,7 +130,7 @@ static const char * XMLSavePalCallback(mxml_node_t *node, int where)
{ {
const char *name; const char *name;
name = node->value.element.name; name = mxmlGetElement(node);
if(where == MXML_WS_BEFORE_CLOSE) if(where == MXML_WS_BEFORE_CLOSE)
{ {