Skip to content

Commit

Permalink
MessageBox instead lists the newly created files as opposed to the pa…
Browse files Browse the repository at this point in the history
…rsed files.
  • Loading branch information
Kakarot committed Oct 7, 2016
1 parent 191a0a6 commit 20afc13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TortoiseDiffCleaner/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ private void cleanDuplicates(string[] filePaths)
StringBuilder builder = new StringBuilder();
foreach (String str in doubleCheck)
{
String strippedFile = System.IO.Path.GetFileName(str);
String strippedFile = System.IO.Path.GetFileNameWithoutExtension(str)+"_DeDuped"+System.IO.Path.GetExtension(str);
builder.AppendLine(strippedFile);

}
MessageBox.Show("The following files have been converted to .patch files:\n\n" + builder.ToString()
MessageBox.Show("Cleanse successful! The following files have been created as .patch files:\n\n" + builder.ToString()
+ "\n\nThese files are located in the same directory as their respective source file counterparts, which is:\n\n" +
System.IO.Path.GetDirectoryName(filePaths[0]), "Success!");
} //end 'if' statment to ensure valid files were dragged to UI
Expand Down

0 comments on commit 20afc13

Please sign in to comment.