summaryrefslogtreecommitdiff
path: root/protocols/Xfire
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Xfire')
-rw-r--r--protocols/Xfire/src/options.cpp2
-rw-r--r--protocols/Xfire/src/userdetails.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Xfire/src/options.cpp b/protocols/Xfire/src/options.cpp
index 0095be37d5..1e5813467b 100644
--- a/protocols/Xfire/src/options.cpp
+++ b/protocols/Xfire/src/options.cpp
@@ -1092,7 +1092,7 @@ int OptInit(WPARAM wParam, LPARAM)
{
ghwndDlg2 = NULL;
- OPTIONSDIALOGPAGE odp = { sizeof(odp) };
+ OPTIONSDIALOGPAGE odp = { 0 };
odp.hInstance = hinstance;
odp.ptszTitle = LPGENT("XFire");
odp.ptszGroup = LPGENT("Network");
diff --git a/protocols/Xfire/src/userdetails.cpp b/protocols/Xfire/src/userdetails.cpp
index 0279678928..2b3cdb9681 100644
--- a/protocols/Xfire/src/userdetails.cpp
+++ b/protocols/Xfire/src/userdetails.cpp
@@ -422,7 +422,7 @@ int OnDetailsInit(WPARAM wParam, LPARAM lParam)
if (!IsXFireContact(lParam))
return 0;
- OPTIONSDIALOGPAGE odp = { sizeof(odp) };
+ OPTIONSDIALOGPAGE odp = { 0 };
odp.hInstance = hinstance;
odp.pfnDlgProc = DlgProcUserDetails;
odp.position = -1900000000;