summaryrefslogtreecommitdiff
path: root/plugins/SpellChecker/src/spellchecker.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-07-30 17:30:39 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-07-30 17:30:39 +0300
commit6fad3235de6bec045fec19a7265e19e880ac84e2 (patch)
treeea375f721c2cc7e586142ccd0298b096a7a5b31f /plugins/SpellChecker/src/spellchecker.cpp
parent4aab3b6bc3d66ade09b25649d389b8aef358bfbd (diff)
Hotkeys: code cleaning
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);