summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-19 14:52:53 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-19 14:52:53 +0000
commit54dec7a74c313ee61437386bd667f9a7653351fd (patch)
tree81aaf9bf469838735392a81ed3edfc3b3bd7481f /plugins/UserInfoEx
parent03dd87df0b288fd0f0f512fb0bbff29e8c00f366 (diff)
fixes for the options page translation
git-svn-id: http://svn.miranda-ng.org/main/trunk@479 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx')
-rw-r--r--plugins/UserInfoEx/dlg_propsheet.cpp2
-rw-r--r--plugins/UserInfoEx/psp_options.cpp7
2 files changed, 3 insertions, 6 deletions
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);