fix compilation on newer mxml

This commit is contained in:
Daryl Borth 2023-07-30 13:31:05 -06:00
parent f72afdce4b
commit 2817d8c4f8

View File

@ -87,7 +87,7 @@ static const char * XMLSaveCallback(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)
{ {