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 /protocols/Twitter | |
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 'protocols/Twitter')
-rw-r--r-- | protocols/Twitter/src/proto.cpp | 2 | ||||
-rw-r--r-- | protocols/Twitter/src/theme.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Twitter/src/proto.cpp b/protocols/Twitter/src/proto.cpp index d94037fb64..bc95f7deda 100644 --- a/protocols/Twitter/src/proto.cpp +++ b/protocols/Twitter/src/proto.cpp @@ -256,7 +256,7 @@ int TwitterProto::OnBuildStatusMenu(WPARAM, LPARAM) if (hRoot == NULL)
return 0;
- TMO_MenuItem mi = { 0 };
+ CMenuItem mi;
mi.root = hRoot;
mi.flags = CMIF_TCHAR;
mi.position = 1001;
diff --git a/protocols/Twitter/src/theme.cpp b/protocols/Twitter/src/theme.cpp index 30e88a23b0..05fd48fae8 100644 --- a/protocols/Twitter/src/theme.cpp +++ b/protocols/Twitter/src/theme.cpp @@ -86,7 +86,7 @@ void InitContactMenus() {
g_hMenuEvts[0] = HookEvent(ME_CLIST_PREBUILDCONTACTMENU, PrebuildContactMenu);
- TMO_MenuItem mi = { 0 };
+ CMenuItem mi;
mi.flags = CMIF_NOTOFFLINE | CMIF_TCHAR;
mi.position = -2000006000;
|