Input sanitation for Debug Locals (#2505)

This commit is contained in:
gir489 2023-12-12 03:19:51 -05:00 committed by GitHub
parent bbafe0f0d0
commit 2a0fb30ced

View File

@ -229,8 +229,12 @@ namespace big
ImGui::PushItemWidth(200.f);
if (ImGui::InputScalar("VIEW_DEBUG_LOCALS_LOCAL"_T.data(), ImGuiDataType_U16, &local_test.local_index))
ImGui::InputScalar("VIEW_DEBUG_LOCALS_LOCAL"_T.data(), ImGuiDataType_U16, &local_test.local_index);
if (local_thread)
local_laddie = script_local(local_thread, local_test.local_index);
else
local_laddie = script_local(local_test.local_index);
for (int i = 0; i < local_test.local_appendages.size(); i++)
{