From baa8e6ee782197a75038d0ab39c53f231bb66ba7 Mon Sep 17 00:00:00 2001 From: k-m_schindler Date: Thu, 4 Sep 2008 23:08:20 +0000 Subject: not needed test on presence of dir removed. Courtesy to tobigun git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1345 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/base/UPlatformMacOSX.pas | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/base') 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 -- cgit v1.2.3