summaryrefslogtreecommitdiff
path: root/tools.pas
diff options
context:
space:
mode:
Diffstat (limited to 'tools.pas')
-rw-r--r--tools.pas4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools.pas b/tools.pas
index 41dc44c..9d2a0dd 100644
--- a/tools.pas
+++ b/tools.pas
@@ -329,6 +329,8 @@ begin
else begin
sl:=tMyStringList.create;
for i:=0 to dateien.count-1 do begin
+ if not fileExists(dateien[i]) then
+ continue;
sl.loadFromFile(dateien[i]);
sl.shellSubst(env);
if exe='epost' then begin
@@ -373,7 +375,7 @@ begin
s:=leftStr(woraus,notQuotedPos(' ',woraus));
delete(woraus,1,length(s));
s:=trim(s);
- if fileexists(s) or dateiListe.hatZeile(s,false) then
+ if fileExists(s) or dateiListe.hatZeile(s,false) then
result.add(s);
end;
end;