summaryrefslogtreecommitdiff
path: root/plugins/SpellChecker
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SpellChecker')
-rw-r--r--plugins/SpellChecker/src/options.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/SpellChecker/src/options.cpp b/plugins/SpellChecker/src/options.cpp
index 346b226282..a1f855ef59 100644
--- a/plugins/SpellChecker/src/options.cpp
+++ b/plugins/SpellChecker/src/options.cpp
@@ -55,7 +55,7 @@ static OptPageControl autoReplaceControls[] = {
int InitOptionsCallback(WPARAM wParam, LPARAM)
{
- OPTIONSDIALOGPAGE odp = { sizeof(odp) };
+ OPTIONSDIALOGPAGE odp = { 0 };
odp.hInstance = hInst;
odp.pszGroup = LPGEN("Message sessions");
odp.pszTitle = LPGEN("Spell Checker");
@@ -65,7 +65,6 @@ int InitOptionsCallback(WPARAM wParam, LPARAM)
Options_AddPage(wParam, &odp);
memset(&odp, 0, sizeof(odp));
- odp.cbSize = sizeof(odp);
odp.hInstance = hInst;
odp.pszGroup = LPGEN("Message sessions");
odp.pszTitle = LPGEN("Auto-replacements");