From 6e29a3eb7fafe4abc5d67056e362adc243ad9bf9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 3 Mar 2014 12:58:25 +0000 Subject: no more META_LINK & META_ID variables git-svn-id: http://svn.miranda-ng.org/main/trunk@8377 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/metacontacts/meta_edit.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/metacontacts/meta_edit.cpp') diff --git a/src/modules/metacontacts/meta_edit.cpp b/src/modules/metacontacts/meta_edit.cpp index 56277d8bd1..98c877a5ac 100644 --- a/src/modules/metacontacts/meta_edit.cpp +++ b/src/modules/metacontacts/meta_edit.cpp @@ -59,7 +59,7 @@ void FillContactList(HWND hWndDlg, CHANGES *chg) for (int i = 0; i < chg->num_contacts; i++) { LvItem.iItem = i; - TCHAR *ptszCDN = cli.pfnGetContactDisplayName(chg->hContact[i], GCDNF_TCHAR); + TCHAR *ptszCDN = cli.pfnGetContactDisplayName(chg->hContact[i], 0); if (ptszCDN == NULL) ptszCDN = TranslateT("(Unknown Contact)"); @@ -292,7 +292,7 @@ INT_PTR CALLBACK Meta_EditDialogProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR case WMU_SETTITLE: { - TCHAR *ptszCDN = cli.pfnGetContactDisplayName(lParam, GCDNF_TCHAR); + TCHAR *ptszCDN = cli.pfnGetContactDisplayName(lParam, 0); if (ptszCDN == NULL) ptszCDN = TranslateT("(Unknown Contact)"); @@ -385,7 +385,7 @@ INT_PTR CALLBACK Meta_EditDialogProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR if (changes.hDefaultContact == changes.hContact[sel]) { if (changes.num_contacts > 0) { changes.hDefaultContact = changes.hContact[0]; - SetWindowText(GetDlgItem(hwndDlg,IDC_ED_DEFAULT), cli.pfnGetContactDisplayName(changes.hDefaultContact, GCDNF_TCHAR)); + SetWindowText(GetDlgItem(hwndDlg,IDC_ED_DEFAULT), cli.pfnGetContactDisplayName(changes.hDefaultContact, 0)); } else { changes.hDefaultContact = 0; -- cgit v1.2.3