mGUI: Don't save config menu markers

This commit is contained in:
Vicki Pfau 2018-09-29 12:05:41 -07:00
parent 8a006bc9c4
commit eabdbe97ea
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ void mGUIShowConfig(struct mGUIRunner* runner, struct GUIMenuItem* extra, size_t
}
for (i = 0; i < GUIMenuItemListSize(&menu.items); ++i) {
item = GUIMenuItemListGetPointer(&menu.items, i);
if (!item->validStates || !item->data) {
if (!item->validStates || !item->data || ((const char*) item->data)[0] == '*') {
continue;
}
if (item->stateMappings) {