summaryrefslogtreecommitdiff
path: root/plugins/SpellChecker/src/spellchecker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SpellChecker/src/spellchecker.cpp')
-rw-r--r--plugins/SpellChecker/src/spellchecker.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SpellChecker/src/spellchecker.cpp b/plugins/SpellChecker/src/spellchecker.cpp
index 63d7ab3304..4726369e2b 100644
--- a/plugins/SpellChecker/src/spellchecker.cpp
+++ b/plugins/SpellChecker/src/spellchecker.cpp
@@ -211,10 +211,10 @@ static int ModulesLoaded(WPARAM, LPARAM)
Srmm_AddIcon(&sid);
}
- HOTKEYDESC hkd = { sizeof(hkd) };
+ HOTKEYDESC hkd = {};
hkd.pszName = "Spell Checker/Toggle";
- hkd.pszSection = LPGEN("Spell Checker");
- hkd.pszDescription = LPGEN("Enable/disable spell checker");
+ hkd.szSection.a = LPGEN("Spell Checker");
+ hkd.szDescription.a = LPGEN("Enable/disable spell checker");
hkd.DefHotKey = HOTKEYCODE(HOTKEYF_SHIFT | HOTKEYF_ALT, 'S');
hkd.lParam = HOTKEY_ACTION_TOGGLE;
Hotkey_Register(&hkd);