From e2530b85347a8e0a3344174c3575284a76f512aa Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 20 May 2018 16:19:56 +0300 Subject: UserInfo_AddPage() helper replaced with CMPLugin::addUserInfo() --- src/core/stduserinfo/src/stdinfo.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/core/stduserinfo') diff --git a/src/core/stduserinfo/src/stdinfo.cpp b/src/core/stduserinfo/src/stdinfo.cpp index 5892e57f6c..1cf54246b4 100644 --- a/src/core/stduserinfo/src/stdinfo.cpp +++ b/src/core/stduserinfo/src/stdinfo.cpp @@ -614,36 +614,36 @@ int DetailsInit(WPARAM wParam, LPARAM lParam) odp.position = -2100000000; odp.pszTemplate = MAKEINTRESOURCEA(IDD_INFO_SUMMARY); odp.szTitle.a = LPGEN("Summary"); - UserInfo_AddPage(wParam, &odp); + g_plugin.addUserInfo(wParam, &odp); odp.pfnDlgProc = ContactDlgProc; odp.position = -1800000000; odp.pszTemplate = MAKEINTRESOURCEA(IDD_INFO_CONTACT); odp.szTitle.a = LPGEN("Contact"); - UserInfo_AddPage(wParam, &odp); + g_plugin.addUserInfo(wParam, &odp); odp.pfnDlgProc = LocationDlgProc; odp.position = -1500000000; odp.pszTemplate = MAKEINTRESOURCEA(IDD_INFO_LOCATION); odp.szTitle.a = LPGEN("Location"); - UserInfo_AddPage(wParam, &odp); + g_plugin.addUserInfo(wParam, &odp); odp.pfnDlgProc = WorkDlgProc; odp.position = -1200000000; odp.pszTemplate = MAKEINTRESOURCEA(IDD_INFO_WORK); odp.szTitle.a = LPGEN("Work"); - UserInfo_AddPage(wParam, &odp); + g_plugin.addUserInfo(wParam, &odp); odp.pfnDlgProc = BackgroundDlgProc; odp.position = -900000000; odp.pszTemplate = MAKEINTRESOURCEA(IDD_INFO_BACKGROUND); odp.szTitle.a = LPGEN("Background info"); - UserInfo_AddPage(wParam, &odp); + g_plugin.addUserInfo(wParam, &odp); odp.pfnDlgProc = NotesDlgProc; odp.position = 0; odp.pszTemplate = MAKEINTRESOURCEA(IDD_INFO_NOTES); odp.szTitle.a = LPGEN("Notes"); - UserInfo_AddPage(wParam, &odp); + g_plugin.addUserInfo(wParam, &odp); return 0; } -- cgit v1.2.3