cleandir example: fixed compilation on windows

git-svn-id: trunk@12744 -
This commit is contained in:
vincents 2007-11-05 12:02:19 +00:00
parent 894cb14b8f
commit ea3948dcd3

View File

@ -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');