diff options
author | George Hazan <ghazan@miranda.im> | 2016-10-28 16:18:50 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-10-28 16:18:50 +0300 |
commit | cf9de21af3073e29cb7b149fbd8427241de70729 (patch) | |
tree | 2a0b17f49d14d4a51bc942f15bf3747509f0c3cf /plugins/AVS/src | |
parent | 3de431cc811a1fbf9cd0d520fe33b6163c73e919 (diff) |
- old useless helpers removed from the Options module;
- mir_app functions introduced instead of them;
- OPENOPTIONSDIALOG structure removed from m_options.h
Diffstat (limited to 'plugins/AVS/src')
-rw-r--r-- | plugins/AVS/src/options.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/AVS/src/options.cpp b/plugins/AVS/src/options.cpp index 11f36dfb1e..558426105a 100644 --- a/plugins/AVS/src/options.cpp +++ b/plugins/AVS/src/options.cpp @@ -709,20 +709,20 @@ int OptInit(WPARAM wParam, LPARAM) OPTIONSDIALOGPAGE odp = { 0 }; odp.hInstance = g_hInst; odp.flags = ODPF_BOLDGROUPS; - odp.pszGroup = LPGEN("Contacts"); - odp.pszTitle = LPGEN("Avatars"); + odp.szGroup.a = LPGEN("Contacts"); + odp.szTitle.a = LPGEN("Avatars"); - odp.pszTab = LPGEN("Protocols"); + odp.szTab.a = LPGEN("Protocols"); odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPTIONS_PICTS); odp.pfnDlgProc = DlgProcOptionsProtos; Options_AddPage(wParam, &odp); - odp.pszTab = LPGEN("Contact avatars"); + odp.szTab.a = LPGEN("Contact avatars"); odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPTIONS_AVATARS); odp.pfnDlgProc = DlgProcOptionsAvatars; Options_AddPage(wParam, &odp); - odp.pszTab = LPGEN("Own avatars"); + odp.szTab.a = LPGEN("Own avatars"); odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPTIONS_OWN); odp.pfnDlgProc = DlgProcOptionsOwn; Options_AddPage(wParam, &odp); @@ -1104,7 +1104,7 @@ int OnDetailsInit(WPARAM wParam, LPARAM lParam) OPTIONSDIALOGPAGE odp = { 0 }; odp.hIcon = g_hIcon; odp.hInstance = g_hInst; - odp.pszTitle = LPGEN("Avatar"); + odp.szTitle.a = LPGEN("Avatar"); MCONTACT hContact = lParam; if (hContact == NULL) { |