From ecba7ace287a4abcad48ad33e1c01e21ae95bbd1 Mon Sep 17 00:00:00 2001 From: CodingKoopa Date: Wed, 16 Sep 2020 17:40:11 -0400 Subject: [PATCH] Fix variable name --- pk3DS/Subforms/Gen6/PersonalEditor6.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pk3DS/Subforms/Gen6/PersonalEditor6.cs b/pk3DS/Subforms/Gen6/PersonalEditor6.cs index 210dfb4..b53d285 100644 --- a/pk3DS/Subforms/Gen6/PersonalEditor6.cs +++ b/pk3DS/Subforms/Gen6/PersonalEditor6.cs @@ -401,8 +401,8 @@ private void B_ModifyAll(object sender, EventArgs e) } if (CHK_FullTMCompatibility.Checked) - for (int h = 0; h < 100; h++) - CLB_TMHM.SetItemCheckState(h, CheckState.Checked); + for (int t = 0; t < 100; t++) + CLB_TMHM.SetItemCheckState(t, CheckState.Checked); if (CHK_FullHMCompatibility.Checked) for (int h = 100; h < CLB_TMHM.Items.Count; h++) CLB_TMHM.SetItemCheckState(h, CheckState.Checked);