mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-01 19:32:49 +02:00
LazUtils: fixed string[0] runtime error
git-svn-id: trunk@42675 -
This commit is contained in:
parent
773f710bde
commit
49cd2ecb33
@ -570,7 +570,7 @@ procedure DoPathDelims(var FileName: string);
|
||||
var
|
||||
i: Integer;
|
||||
begin
|
||||
for i:=0 to length(FileName) do
|
||||
for i:=1 to length(FileName) do
|
||||
{$IFDEF Windows}
|
||||
if Filename[i]='/' then
|
||||
Filename[i]:='\';
|
||||
|
Loading…
Reference in New Issue
Block a user