From 55f21cd9512a1d062f8186d075f54e4867e464f2 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sun, 9 Feb 2025 16:26:36 -0800 Subject: [PATCH] mGUI: Fix saving integer config values --- src/feature/gui/gui-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/feature/gui/gui-config.c b/src/feature/gui/gui-config.c index 6214abc15..6ad52d090 100644 --- a/src/feature/gui/gui-config.c +++ b/src/feature/gui/gui-config.c @@ -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);