Recrusive DirCreate now exits true if it exists
This commit is contained in:
parent
2fe5f6b0a2
commit
817d220480
|
@ -295,6 +295,8 @@ Begin
|
||||||
Prefix := '';
|
Prefix := '';
|
||||||
Str := DirSlash(Str);
|
Str := DirSlash(Str);
|
||||||
|
|
||||||
|
If DirExists(Str) Then Exit;
|
||||||
|
|
||||||
Count := Pos(PathSep, Str);
|
Count := Pos(PathSep, Str);
|
||||||
|
|
||||||
While (Count > 0) Do Begin
|
While (Count > 0) Do Begin
|
||||||
|
|
Loading…
Reference in New Issue