diff --git a/source/preferences.cpp b/source/preferences.cpp index 72feecb..78ef00f 100644 --- a/source/preferences.cpp +++ b/source/preferences.cpp @@ -130,7 +130,7 @@ static const char * XMLSavePalCallback(mxml_node_t *node, int where) { const char *name; - name = node->value.element.name; + name = mxmlGetElement(node); if(where == MXML_WS_BEFORE_CLOSE) {