mirror of
https://github.com/StudentBlake/XCI-Explorer
synced 2024-11-22 04:03:04 +00:00
Small fix for duplicate languages sometimes showing up in the combobox for XCI files
This commit is contained in:
parent
b5a4d41dd2
commit
55d9c0c8a9
1 changed files with 1 additions and 1 deletions
|
@ -623,7 +623,7 @@ namespace XCI_Explorer {
|
|||
|
||||
for (int i = 0; i < NACP.NACP_Strings.Length; i++) {
|
||||
NACP.NACP_Strings[i] = new NACP.NACP_String(source.Skip(i * 0x300).Take(0x300).ToArray());
|
||||
if (NACP.NACP_Strings[i].Check != 0) {
|
||||
if (NACP.NACP_Strings[i].Check != 0 && !CB_RegionName.Items.Contains(Language[i])) {
|
||||
CB_RegionName.Items.Add(Language[i]);
|
||||
string icon_filename = "data\\icon_" + Language[i].Replace(" ", "") + ".dat";
|
||||
if (File.Exists(icon_filename)) {
|
||||
|
|
Loading…
Reference in a new issue