diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2009-11-30 21:34:36 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2009-11-30 21:34:36 +0100 |
| commit | 19b81e549eb6e555003fdf26268f63bcb508b0c6 (patch) | |
| tree | b5793b10108339737cb14cb3bf9bd1e0d6cd2fac | |
| parent | d7ad13f338b1c403741ad2104247db1c175b3303 (diff) | |
| download | tuxcmd-19b81e549eb6e555003fdf26268f63bcb508b0c6.tar.xz | |
Fix duplicate files in the filelist
| -rw-r--r-- | UCoreWorkers.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/UCoreWorkers.pas b/UCoreWorkers.pas index 8ded910..6eabc1e 100644 --- a/UCoreWorkers.pas +++ b/UCoreWorkers.pas @@ -542,7 +542,7 @@ begin if (not UpDir) and Selected then InputFiles.Add(CurrPath + String(FName)); // If not files are selected, take into the account current active item - if (AList.Count = 0) and Assigned(SelectedItem) and (not SelectedItem^.UpDir) then + if (InputFiles.Count = 0) and Assigned(SelectedItem) and (not SelectedItem^.UpDir) then InputFiles.Add(CurrPath + String(SelectedItem^.FName)); FillDirFiles(Engine, AList, InputFiles, DoNotRecurse, True); |
