From 54dec7a74c313ee61437386bd667f9a7653351fd Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 19 Jun 2012 14:52:53 +0000 Subject: fixes for the options page translation git-svn-id: http://svn.miranda-ng.org/main/trunk@479 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/UserInfoEx/dlg_propsheet.cpp | 2 +- plugins/UserInfoEx/psp_options.cpp | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) (limited to 'plugins/UserInfoEx') diff --git a/plugins/UserInfoEx/dlg_propsheet.cpp b/plugins/UserInfoEx/dlg_propsheet.cpp index 0b9db512cd..e413602e47 100644 --- a/plugins/UserInfoEx/dlg_propsheet.cpp +++ b/plugins/UserInfoEx/dlg_propsheet.cpp @@ -561,7 +561,7 @@ static INT InitDetails(WPARAM wParam, LPARAM lParam) if (lParam || bChangeDetailsEnabled) { odp.cbSize = sizeof(odp); odp.hInstance = ghInst; - odp.flags = /*ODPF_BOLDGROUPS|*/ODPF_ICON|ODPF_TCHAR; + odp.flags = ODPF_ICON | ODPF_TCHAR; odp.ptszGroup = IcoLib_GetDefaultIconFileName(); if (lParam) { diff --git a/plugins/UserInfoEx/psp_options.cpp b/plugins/UserInfoEx/psp_options.cpp index d399f82c57..3d0427ecba 100644 --- a/plugins/UserInfoEx/psp_options.cpp +++ b/plugins/UserInfoEx/psp_options.cpp @@ -1511,11 +1511,9 @@ static INT_PTR CALLBACK DlgProc_Popups(HWND hDlg, UINT uMsg, WPARAM wParam, LPAR **/ static INT OnInitOptions(WPARAM wParam, LPARAM lParam) { - OPTIONSDIALOGPAGE odp; - ZeroMemory(&odp, sizeof(odp)); - DlgContactInfoInitTreeIcons(); + OPTIONSDIALOGPAGE odp = { 0 }; odp.position = 95400; odp.hInstance = ghInst; odp.pszTitle = MODNAME; @@ -1551,8 +1549,7 @@ static INT OnInitOptions(WPARAM wParam, LPARAM lParam) Options_AddPage(wParam, &odp); // Popups page - if (ServiceExists(MS_POPUP_ADDPOPUPT)) - { + if (ServiceExists(MS_POPUP_ADDPOPUPT)) { odp.pszTitle = MODNAME; odp.pszGroup = LPGEN("Popups"); odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_POPUP); -- cgit v1.2.3