From b1f0c964d29ff5edc72fe6fad894b01196fa1da0 Mon Sep 17 00:00:00 2001 From: inspectredc <78732756+inspectredc@users.noreply.github.com> Date: Mon, 2 Oct 2023 15:34:37 +0100 Subject: [PATCH] Item Tracker Combo Button Fix (#3231) * let words be small * change >=1 to >0 --- soh/soh/UIWidgets.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soh/soh/UIWidgets.cpp b/soh/soh/UIWidgets.cpp index 694c025c7..64d94cc69 100644 --- a/soh/soh/UIWidgets.cpp +++ b/soh/soh/UIWidgets.cpp @@ -240,7 +240,7 @@ namespace UIWidgets { std::string comboName = std::string("##") + std::string(cvarName); if (ImGui::BeginCombo(comboName.c_str(), comboArray[selected])) { for (uint8_t i = 0; i < comboArray.size(); i++) { - if (strlen(comboArray[i]) > 1) { + if (strlen(comboArray[i]) > 0) { if (ImGui::Selectable(comboArray[i], i == selected)) { CVarSetInteger(cvarName, i); selected = i;