summaryrefslogtreecommitdiff
path: root/plugins/HistoryPlusPlus/EventDetailForm.pas
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistoryPlusPlus/EventDetailForm.pas')
-rw-r--r--plugins/HistoryPlusPlus/EventDetailForm.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HistoryPlusPlus/EventDetailForm.pas b/plugins/HistoryPlusPlus/EventDetailForm.pas
index 06bffc478d..9e9029cc9c 100644
--- a/plugins/HistoryPlusPlus/EventDetailForm.pas
+++ b/plugins/HistoryPlusPlus/EventDetailForm.pas
@@ -678,7 +678,7 @@ procedure TEventDetailsFrm.BrowseReceivedFilesClick(Sender: TObject);
var
Path: Array [0 .. MAX_PATH] of WideChar;
begin
- CallService(MS_FILE_GETRECEIVEDFILESFOLDER, FParentForm.hContact, LPARAM(@Path));
+ GetFileReceivedFolder(FParentForm.hContact, @Path);
ShellExecuteW(0, 'open', Path, nil, nil, SW_SHOW);
end;