Browse Source

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

Nikolay Nikolov 4 năm trước cách đây
mục cha
commit
60d350f067
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;