aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/base/UPlatformMacOSX.pas3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/base/UPlatformMacOSX.pas b/src/base/UPlatformMacOSX.pas
index 217d4755..788e0dda 100644
--- a/src/base/UPlatformMacOSX.pas
+++ b/src/base/UPlatformMacOSX.pas
@@ -190,8 +190,7 @@ begin
until (DirectoryIsFinished = DirectoryList.Count);
// create missing folders
- if not DirectoryExists(UserPathName) then
- ForceDirectories(UserPathName);
+ ForceDirectories(UserPathName); / should not be necessary since (UserPathName+'/.') is created.
for Counter := 0 to DirectoryList.Count-1 do
begin
if not ForceDirectories(UserPathName + '/' + DirectoryList[Counter]) then