aboutsummaryrefslogtreecommitdiffstats
path: root/src/base
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/base/UPlatformMacOSX.pas4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/base/UPlatformMacOSX.pas b/src/base/UPlatformMacOSX.pas
index 1dc0014a..fda49a45 100644
--- a/src/base/UPlatformMacOSX.pas
+++ b/src/base/UPlatformMacOSX.pas
@@ -205,7 +205,9 @@ begin
CurPath := FileInfo.Name;
if CurPath.IsDirectory() then
begin
- if (not CurPath.Equals('.')) and (not CurPath.Equals('..')) then
+ if (not CurPath.Equals('.')) and
+ (not CurPath.Equals('..')) and
+ (not CurPath.Equals('MacOS')) then
DirectoryList.Add(RelativePath.Append(CurPath));
end
else