fix: ensure we null-terminate the string

This commit is contained in:
maybegreat48
2025-03-30 10:24:45 -04:00
parent a534d487f7
commit 8d95cdc326
@@ -80,7 +80,7 @@ namespace YimMenu
ImGui::InputScalar("Index", ImGuiDataType_U32, &var.base);
ImGui::SameLine();
ImGui::SetNextItemWidth(100.0f);
ImGui::Combo("##var_type", (int*)&var.type, "Int\0Float\0Bool\0Int64");
ImGui::Combo("##var_type", (int*)&var.type, "Int\0Float\0Bool\0Int64\0");
for (int i = 0; i < var.appendages.size(); i++)
{