mirror of
https://github.com/kwsch/pk3DS.git
synced 2026-10-02 13:57:14 -05:00
Fix silly mistake with line length check
This commit is contained in:
@@ -53,7 +53,7 @@ public Main()
|
||||
string[] lines = File.ReadAllLines("config.ini");
|
||||
string path = lines[0];
|
||||
int lang;
|
||||
if (lines.Length > 0 && int.TryParse(lines[1], out lang))
|
||||
if (lines.Length > 1 && int.TryParse(lines[1], out lang))
|
||||
CB_Lang.SelectedIndex = lang;
|
||||
if (Directory.Exists("personal") && !skipBoth) { Directory.Delete("personal", true); } // Clear data on form load.
|
||||
if (path.Length > 0) openQuick(path);
|
||||
|
||||
Reference in New Issue
Block a user