summaryrefslogtreecommitdiff
path: root/protocols/EmLanProto/src/amdproto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/EmLanProto/src/amdproto.cpp')
-rw-r--r--protocols/EmLanProto/src/amdproto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/EmLanProto/src/amdproto.cpp b/protocols/EmLanProto/src/amdproto.cpp
index 26f40d39ab..2186c18e55 100644
--- a/protocols/EmLanProto/src/amdproto.cpp
+++ b/protocols/EmLanProto/src/amdproto.cpp
@@ -281,7 +281,7 @@ INT_PTR CALLBACK EMPDlgProcMainOpts(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPAR
int __cdecl EMPCreateOptionsDlg(WPARAM wParam,LPARAM)
{
- OPTIONSDIALOGPAGE odp = { sizeof(odp) };
+ OPTIONSDIALOGPAGE odp = { 0 };
odp.position = 100000000;
odp.hInstance = g_hInstance;
odp.pszTemplate = MAKEINTRESOURCE(IDD_EMP_FORM_OPT);