summaryrefslogtreecommitdiff
path: root/plugins/HistoryPlusPlus/GlobalSearch.pas
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistoryPlusPlus/GlobalSearch.pas')
-rw-r--r--plugins/HistoryPlusPlus/GlobalSearch.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HistoryPlusPlus/GlobalSearch.pas b/plugins/HistoryPlusPlus/GlobalSearch.pas
index b7cafc091e..ffc955e3b3 100644
--- a/plugins/HistoryPlusPlus/GlobalSearch.pas
+++ b/plugins/HistoryPlusPlus/GlobalSearch.pas
@@ -2454,7 +2454,7 @@ var
hContact: THandle;
begin
hContact := GetSearchItem(hg.Selected).Contact.Handle;
- CallService(MS_FILE_GETRECEIVEDFILESFOLDER, hContact, LParam(@Path));
+ GetFileReceivedFolder(hContact, @Path);
ShellExecuteW(0, 'open', Path, nil, nil, SW_SHOW);
end;