* avoid problems for windows if case of drive letter is different

git-svn-id: trunk@14840 -
This commit is contained in:
pierre 2010-02-01 15:47:22 +00:00
parent 75ff11b24f
commit a989b6c1e6

View File

@ -207,7 +207,7 @@ begin
if Copy (Pa, 1, PathStart - 2) = Copy (S, 1, PathStart - 2)
then
{$ELSE FPC_FEXPAND_VOLUMES}
if Pa [1] = S [1] then
if UpCase(Pa [1]) = UpCase(S [1]) then
{$ENDIF FPC_FEXPAND_VOLUMES}
begin
{ remove ending slash if it already exists }