mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFile] Add measure to get past identically named inputs
This commit is contained in:
@@ -1684,7 +1684,7 @@ namespace SabreTools.Library.DatFiles
|
|||||||
|
|
||||||
Parallel.For(0, inputs.Count, Globals.ParallelOptions, j =>
|
Parallel.For(0, inputs.Count, Globals.ParallelOptions, j =>
|
||||||
{
|
{
|
||||||
string innerpost = " (" + Path.GetFileNameWithoutExtension(inputs[j].Split('¬')[0]) + " Only)";
|
string innerpost = " (" + j + " - " + Path.GetFileNameWithoutExtension(inputs[j].Split('¬')[0]) + " Only)";
|
||||||
DatFile diffData;
|
DatFile diffData;
|
||||||
|
|
||||||
// If we're in inplace mode, take the appropriate DatData object already stored
|
// If we're in inplace mode, take the appropriate DatData object already stored
|
||||||
@@ -1816,7 +1816,7 @@ namespace SabreTools.Library.DatFiles
|
|||||||
|
|
||||||
Parallel.For(0, inputs.Count, Globals.ParallelOptions, j =>
|
Parallel.For(0, inputs.Count, Globals.ParallelOptions, j =>
|
||||||
{
|
{
|
||||||
string innerpost = " (" + Path.GetFileNameWithoutExtension(inputs[j].Split('¬')[0]) + " Only)";
|
string innerpost = " (" + j + " - " + Path.GetFileNameWithoutExtension(inputs[j].Split('¬')[0]) + " Only)";
|
||||||
DatFile diffData = new DatFile(this);
|
DatFile diffData = new DatFile(this);
|
||||||
diffData.FileName += innerpost;
|
diffData.FileName += innerpost;
|
||||||
diffData.Name += innerpost;
|
diffData.Name += innerpost;
|
||||||
|
|||||||
Reference in New Issue
Block a user