Skip to content

Commit

Permalink
Fix Retard Bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
marcussacana committed Jul 8, 2018
1 parent 8cb519c commit 32ba9c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SSMGui/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public Form1() {
private void openFileDialog1_FileOk(object sender, CancelEventArgs e) {
byte[] file = System.IO.File.ReadAllBytes(openFileDialog1.FileName);
string[] Strs;
if (openFileDialog1.FilterIndex == 0) {
if (openFileDialog1.FilterIndex == 1) {
Script = new SSManager(file);
Strs = Script.Import();
DBMode = false;
Expand Down
4 changes: 3 additions & 1 deletion SiglusPatcher/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ static void Main(string[] args) {
}
bool Wordwrap = false;
foreach (string exe in args) {
if (exe.Trim(' ', '-', '\\').ToLower().StartsWith("wordwrap"))
if (exe.Trim(' ', '-', '\\').ToLower().StartsWith("wordwrap")) {
Wordwrap = true;
continue;
}
byte[] Executable = File.ReadAllBytes(exe);
bool NoLoop = false;
again: ;
Expand Down

0 comments on commit 32ba9c3

Please sign in to comment.