mGUI: Fix saving integer config values

This commit is contained in:
Vicki Pfau 2025-02-09 16:26:36 -08:00
parent d365312757
commit 55f21cd951
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ void mGUIShowConfig(struct mGUIRunner* runner, struct GUIMenuItem* extra, size_t
mCoreConfigSetUIntValue(&runner->config, item->data.v.s, v->v.u);
break;
case GUI_VARIANT_INT:
mCoreConfigSetUIntValue(&runner->config, item->data.v.s, v->v.i);
mCoreConfigSetIntValue(&runner->config, item->data.v.s, v->v.i);
break;
case GUI_VARIANT_FLOAT:
mCoreConfigSetFloatValue(&runner->config, item->data.v.s, v->v.f);