mirror of
https://github.com/YimMenu/YimMenuV2.git
synced 2026-10-10 11:53:14 +08:00
fix: ensure we null-terminate the string
This commit is contained in:
@@ -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++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user