summaryrefslogtreecommitdiff
path: root/src/core/stduserinfo
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/stduserinfo')
-rw-r--r--src/core/stduserinfo/stdinfo.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/stduserinfo/stdinfo.cpp b/src/core/stduserinfo/stdinfo.cpp
index 9858bf59b1..5ef8310ce6 100644
--- a/src/core/stduserinfo/stdinfo.cpp
+++ b/src/core/stduserinfo/stdinfo.cpp
@@ -580,11 +580,8 @@ int DetailsInit(WPARAM wParam, LPARAM lParam)
if (GetContactProto((HANDLE)lParam) == 0)
return 0;
- OPTIONSDIALOGPAGE odp;
- odp.cbSize = sizeof(odp);
- odp.hIcon = NULL;
+ OPTIONSDIALOGPAGE odp = { sizeof(odp) };
odp.hInstance = hInst;
- odp.flags = 0;
odp.pfnDlgProc = SummaryDlgProc;
odp.position = -2100000000;