IDE: NormalizeLazExe() bug fixed (by @n7800)

This commit is contained in:
rich2014 2024-05-23 23:06:18 +08:00
parent 945cfc79c4
commit 68bea34028

View File

@ -1207,7 +1207,7 @@ procedure TMainIDE.LoadGlobalOptions;
{$IFDEF Darwin}
p:=Pos('.app/Contents/MacOS/',Result);
if p>0 then
Result:=LeftStr(LazExe,p-1);
Result:=LeftStr(Result,p-1);
{$ENDIF}
end;