Skip to content

Commit 51269e0

Browse files
committed
fixes
1 parent ab77f1b commit 51269e0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

WDBXEditor/Forms/WotLKItemFix.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,17 +165,17 @@ private void PopulateTable()
165165

166166
if (ddlTemplate.Text == "Trinity")
167167
{
168-
for (int i = 0; i < fields.Length; i++)
168+
for (int i = 0; i < fields.Count; i++)
169169
schema.Rows.Add(fields[i].Name, TrinityLookup[i]);
170170
}
171171
else if (ddlTemplate.Text.IndexOf("Mangos") > -1)
172172
{
173-
for (int i = 0; i < fields.Length; i++)
173+
for (int i = 0; i < fields.Count; i++)
174174
schema.Rows.Add(fields[i].Name, MangosLookup[i]);
175175
}
176176
else
177177
{
178-
for (int i = 0; i < fields.Length; i++)
178+
for (int i = 0; i < fields.Count; i++)
179179
schema.Rows.Add(fields[i].Name, "");
180180
}
181181

0 commit comments

Comments
 (0)