summaryrefslogtreecommitdiff
path: root/plugins/FTPFileYM/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FTPFileYM/src')
-rw-r--r--plugins/FTPFileYM/src/ftpfile.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/FTPFileYM/src/ftpfile.cpp b/plugins/FTPFileYM/src/ftpfile.cpp
index 90dc4e12eb..91de6e0066 100644
--- a/plugins/FTPFileYM/src/ftpfile.cpp
+++ b/plugins/FTPFileYM/src/ftpfile.cpp
@@ -170,11 +170,10 @@ void InitMenuItems()
void InitHotkeys()
{
- HOTKEYDESC hk = { 0 };
- hk.cbSize = sizeof(hk);
- hk.pszDescription = LPGEN("Show FTPFile manager");
+ HOTKEYDESC hk = {};
+ hk.szSection.a = MODULE;
+ hk.szDescription.a = LPGEN("Show FTPFile manager");
hk.pszName = "FTP_ShowManager";
- hk.pszSection = MODULE;
hk.pszService = MS_FTPFILE_SHOWMANAGER;
Hotkey_Register(&hk);
}