Browse Source

* fix for tiorte.pp on WM5.

git-svn-id: trunk@6162 -
yury 18 năm trước cách đây
mục cha
commit
83820db27e
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      rtl/win/sysdir.inc

+ 4 - 0
rtl/win/sysdir.inc

@@ -58,6 +58,10 @@ begin
   If (s='') or (InOutRes <> 0) then
    exit;
   dirfn(TDirFnType(@RemoveDirectory),s);
+{$ifdef WINCE}
+  if (Inoutres=3) and (Pos(DirectorySeparator, s)<2) then
+    Inoutres:=2;
+{$endif WINCE}
 end;
 
 procedure chdir(const s:string);[IOCHECK];