From 49cd2ecb336090b030d339d51a8a44fe1856ee08 Mon Sep 17 00:00:00 2001 From: martin Date: Sun, 8 Sep 2013 09:54:59 +0000 Subject: [PATCH] LazUtils: fixed string[0] runtime error git-svn-id: trunk@42675 - --- components/lazutils/lazfileutils.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lazutils/lazfileutils.pas b/components/lazutils/lazfileutils.pas index ebc0617064..3001522c9c 100644 --- a/components/lazutils/lazfileutils.pas +++ b/components/lazutils/lazfileutils.pas @@ -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]:='\';