瀏覽代碼

* fix compile

git-svn-id: branches/fixes_2_2@10130 -
peter 17 年之前
父節點
當前提交
57ce0b5583
共有 1 個文件被更改,包括 1 次插入1 次删除
  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