bool bRet = true;
String strFileTemp[3];
- for (file = 0; file < m_files.GetSize(); file++)
- strFileTemp[file] = files[file];
-
+ std::copy(m_files.begin(), m_files.end(), strFileTemp);
m_options.SetToDiffUtils();
String subprefix[3];
int nIndex;
- for (nIndex = 0; nIndex < nDirs; nIndex++)
- sDir[nIndex] = paths.GetPath(nIndex);
+ std::copy(paths.begin(), paths.end(), sDir);
if (subdir[0][0])
{
// Transformation happens here
// text used for automatic mode : plugin filter must match it
- String filteredFilenames = files[0] + _T("|") + files[1];
- if (nDirs == 3)
- {
- filteredFilenames += _T("|");
- filteredFilenames += files[2];
- }
+ String filteredFilenames = String_join(files.begin(), files.end(), _T("|"));
PackingInfo * infoUnpacker=0;
PrediffingInfo * infoPrediffer=0;