1
0
mirror of synced 2025-01-19 01:24:15 +01:00

impr: Correct some ugly code

This commit is contained in:
WerWolv 2023-02-14 15:43:44 +01:00
parent 9ec7b90192
commit 8afd698284

View File

@ -334,9 +334,7 @@ namespace hex::plugin::builtin {
ImGui::TableNextColumn(); ImGui::TableNextColumn();
if (ImGui::IconButton(ICON_VS_ADD, ImGui::GetStyleColorVec4(ImGuiCol_Text))) { if (ImGui::IconButton(ICON_VS_ADD, ImGui::GetStyleColorVec4(ImGuiCol_Text))) {
iter++; envVars.insert(std::next(iter), { envVarCounter++, "", i128(0), PlData::EnvVarType::Integer });
envVars.insert(iter, { envVarCounter++, "", i128(0), PlData::EnvVarType::Integer });
iter--;
} }
ImGui::SameLine(); ImGui::SameLine();