From 57ba36b06312e80d7b9ba71c3bf1b7f6397cf27e Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Wed, 19 Oct 2022 23:12:50 -0400 Subject: [PATCH] Fixes crash (#1798) (#1806) (cherry picked from commit 30c66439a4f842d3ec5ce73f9cd689fcf4b8490b) Co-authored-by: RaelCappra --- soh/soh/Enhancements/cosmetics/CosmeticsEditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soh/soh/Enhancements/cosmetics/CosmeticsEditor.cpp b/soh/soh/Enhancements/cosmetics/CosmeticsEditor.cpp index d167ec8b3..7c465110a 100644 --- a/soh/soh/Enhancements/cosmetics/CosmeticsEditor.cpp +++ b/soh/soh/Enhancements/cosmetics/CosmeticsEditor.cpp @@ -472,7 +472,7 @@ void Draw_ItemsSkills(){ ResetTrailLength("gTrailDuration", 4); UIWidgets::EnhancementCheckbox("Swords use separate colors", "gSeperateSwords"); if (CVar_GetS32("gSeperateSwords", 0) && ImGui::CollapsingHeader("Individual Sword Colors")) { - if (ImGui::BeginTable("tabletrailswords", 2, FlagsTable)) { + if (ImGui::BeginTable("tabletrailswords", 5, FlagsTable)) { ImGui::TableSetupColumn("Kokiri Sword", FlagsCell, TablesCellsWidth / 2); ImGui::TableSetupColumn("Master Sword", FlagsCell, TablesCellsWidth / 2); ImGui::TableSetupColumn("Biggoron Sword", FlagsCell, TablesCellsWidth / 2);