summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx
diff options
context:
space:
mode:
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);