Browse Source

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

Nikolay Nikolov 3 years ago
parent
commit
60d350f067
1 changed files with 1 additions and 1 deletions
  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;