소스 검색

* another instance of ['/','\'] replaced with AllowDirectorySeparators

Nikolay Nikolov 4 년 전
부모
커밋
60d350f067
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      rtl/wasi/sysdir.inc

+ 1 - 1
rtl/wasi/sysdir.inc

@@ -107,7 +107,7 @@ begin
   new_dir:=current_dirs[new_drive_nr].dir_name;
   if s<>'' then
   begin
-    if s[1] in ['/','\'] then
+    if s[1] in AllowDirectorySeparators then
     begin
       delete(s,1,1);
       new_dir:=DirectorySeparator;