From 2817d8c4f839947787e06d7c7566a072e11b0225 Mon Sep 17 00:00:00 2001 From: Daryl Borth Date: Sun, 30 Jul 2023 13:31:05 -0600 Subject: [PATCH] fix compilation on newer mxml --- source/preferences.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/preferences.cpp b/source/preferences.cpp index 9b0787de..63ac919f 100644 --- a/source/preferences.cpp +++ b/source/preferences.cpp @@ -87,7 +87,7 @@ static const char * XMLSaveCallback(mxml_node_t *node, int where) { const char *name; - name = node->value.element.name; + name = mxmlGetElement(node); if(where == MXML_WS_BEFORE_CLOSE) {