summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SmileyAdd/src/main.cpp')
-rw-r--r--plugins/SmileyAdd/src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SmileyAdd/src/main.cpp b/plugins/SmileyAdd/src/main.cpp
index a1a49e3a47..fb8ed6a51d 100644
--- a/plugins/SmileyAdd/src/main.cpp
+++ b/plugins/SmileyAdd/src/main.cpp
@@ -67,10 +67,10 @@ static int ModulesLoaded(WPARAM, LPARAM)
g_SmileyCategories.AddAllProtocolsAsCategory();
g_SmileyCategories.ClearAndLoadAll();
- HOTKEYDESC desc = { sizeof(desc) };
+ HOTKEYDESC desc = {};
desc.pszName = "smileyadd";
- desc.pszSection = MODULENAME;
- desc.pszDescription = LPGEN("Smiley selector");
+ desc.szSection.a = MODULENAME;
+ desc.szDescription.a = LPGEN("Smiley selector");
desc.DefHotKey = HOTKEYCODE(HOTKEYF_ALT, 'E');
Hotkey_Register(&desc);