summaryrefslogtreecommitdiff
path: root/plugins/YARelay/src/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/YARelay/src/options.cpp')
-rw-r--r--plugins/YARelay/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/YARelay/src/options.cpp b/plugins/YARelay/src/options.cpp
index 8a2fba246b..86d9ad6028 100644
--- a/plugins/YARelay/src/options.cpp
+++ b/plugins/YARelay/src/options.cpp
@@ -68,7 +68,7 @@ static INT_PTR CALLBACK OptionsFrameProc(HWND hwndDlg, UINT uMsg, WPARAM wParam,
SendDlgItemMessage(hwndDlg, IDC_COMBO_TO, CB_SETCURSEL, (WPARAM)idx, 0);
for (auto &hContact : Contacts()) {
- wchar_t *ptszNick = pcli->pfnGetContactDisplayName(hContact, 0);
+ wchar_t *ptszNick = Clist_GetContactDisplayName(hContact);
if (ptszNick){
idx = SendDlgItemMessage(hwndDlg, IDC_COMBO_TO, CB_ADDSTRING, 0, (LPARAM)ptszNick);
SendDlgItemMessage(hwndDlg, IDC_COMBO_TO, CB_SETITEMDATA, (WPARAM)idx, hContact);