aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/UPlatformMacOSX.pas
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/classes/UPlatformMacOSX.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/classes/UPlatformMacOSX.pas b/src/classes/UPlatformMacOSX.pas
index 849c354b..2ab2a390 100644
--- a/src/classes/UPlatformMacOSX.pas
+++ b/src/classes/UPlatformMacOSX.pas
@@ -218,7 +218,7 @@ begin
// We have to cut the last two folders
// to get the application folder.
- Result := ExtractFilePath(ParamStr(0));
+ Result := GetExecutionDir();
for i := 1 to 2 do
begin
pos := Length(Result);