Browse Source

* fix compile

git-svn-id: branches/fixes_2_2@10130 -
peter 17 năm trước cách đây
mục cha
commit
57ce0b5583
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      rtl/objpas/sysutils/sysutils.inc

+ 1 - 1
rtl/objpas/sysutils/sysutils.inc

@@ -40,7 +40,7 @@
             Result:=Temp;
             Temp:='';
           end;
-        If (Length(Result)>0) and (result[length(result)] in AllowDirectorySeparators) then
+        If (Length(Result)>0) and (result[length(result)] in ['\','/']) then
           Result:=Result+DirectorySeparator;
         Result:=Result+name;
         If not FileExists(Result) Then