* part of previous commit

git-svn-id: trunk@3709 -
This commit is contained in:
florian 2006-05-27 21:42:00 +00:00
parent 2a62055580
commit 098033d56b

View File

@ -217,7 +217,7 @@ begin
begin
{ remove ending slash if it already exists }
if S [Length (S)] = DirectorySeparator then
Dec (S [0]);
SetLength(S,Length(s)-1);
Pa := S + DirectorySeparator +
Copy (Pa, PathStart, Length (Pa) - PathStart + 1)
end