* Better length check

This commit is contained in:
Michaël Van Canneyt 2023-07-17 10:04:46 +02:00
parent 0be4498284
commit 8af6fdefa8

View File

@ -84,8 +84,11 @@ var
begin
ReadDebugLink:=ReadDebugLink(e,fn);
if ReadDebugLink and (length(fn)<256) then
dbgfn:=fn;
if ReadDebugLink then
if (length(fn)<256) then
dbgfn:=fn
else
ReadDebugLink:=False;
end;