From 1ae41e0210ebc8d529cc02dc32c831432526de14 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 19 Feb 2018 13:19:21 +0100 Subject: tools.pas: check for empty file name --- tools.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/tools.pas b/tools.pas index 4f749d9..312cda3 100644 --- a/tools.pas +++ b/tools.pas @@ -109,6 +109,7 @@ end; function tDateienMitDaten.add(neu: tDateiMitDatum): longint; begin result:=inherited add(neu); + assert(neu.name<>'','Dateiname darf nicht leer sein!'); istSortiert:=false; end; -- cgit v1.2.3-54-g00ecf