mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 22:48:57 +02:00
* Better length check
This commit is contained in:
parent
0be4498284
commit
8af6fdefa8
@ -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;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user