فهرست منبع

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

git-svn-id: trunk@14840 -
pierre 15 سال پیش
والد
کامیت
a989b6c1e6
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      rtl/inc/fexpand.inc

+ 1 - 1
rtl/inc/fexpand.inc

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