mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-11 15:48:34 +02:00
cleandir example: fixed compilation on windows
git-svn-id: trunk@12744 -
This commit is contained in:
parent
894cb14b8f
commit
ea3948dcd3
@ -268,7 +268,7 @@ Var
|
||||
begin
|
||||
{$ifdef mswindows}
|
||||
Path[0]:=#0;
|
||||
SHGetFolderPath(0,CSIDL_PERSONAL,0,@PATH);
|
||||
SHGetFolderPath(0,CSIDL_PERSONAL,0,0,@PATH);
|
||||
Result:=StrPas(Path);
|
||||
{$else}
|
||||
Result:=GetEnvironmentVariable('HOME');
|
||||
|
Loading…
Reference in New Issue
Block a user