diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-29 19:30:51 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-29 19:30:51 +0000 |
commit | ee3100701b64a1a34e8e5b3069219c7c5a201d8a (patch) | |
tree | 65ae99da9575d2611734482dcedec21bf7f186db /plugins/Quotes/src | |
parent | cadd3f86302d30d6d6a2e4af63a7a50f0dd1f1cb (diff) |
- unified menu creation using wrapper class CMenuItem;
- duplicated hLangpack field removed from TMO_IntMenuItem;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@14440 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Quotes/src')
-rw-r--r-- | plugins/Quotes/src/Forex.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Quotes/src/Forex.cpp b/plugins/Quotes/src/Forex.cpp index 6aea04d719..22ced59186 100644 --- a/plugins/Quotes/src/Forex.cpp +++ b/plugins/Quotes/src/Forex.cpp @@ -77,7 +77,7 @@ INT_PTR QuotesMenu_EnableDisable(WPARAM, LPARAM) void InitMenu()
{
- TMO_MenuItem mi = { 0 };
+ CMenuItem mi;
mi.flags = CMIF_TCHAR;
mi.root = Menu_CreateRoot(MO_MAIN, LPGENT("Quotes"), 0, Quotes_GetIconHandle(IDI_ICON_MAIN));
@@ -122,7 +122,7 @@ void InitMenu() HookEvent(ME_CLIST_PREBUILDCONTACTMENU, Quotes_PrebuildContactMenu);
if (bSubGroups) {
- TMO_MenuItem miroot = { 0 };
+ CMenuItem miroot;
miroot.hIcolibItem = Quotes_GetIconHandle(IDI_ICON_MAIN);
miroot.name.a = QUOTES_PROTOCOL_NAME;
mi.root = Menu_AddContactMenuItem(&miroot, QUOTES_PROTOCOL_NAME);
|