summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2015-09-04 07:40:16 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2015-09-04 07:40:16 +0000
commitf15b32c87d9a7ce7d049b0f36c4096c654a36d35 (patch)
tree465a6485fc74f81a8968f9bba8e6ac61c2c52f20
parent2a8b0f5e77ab51dd0b8cdcc27ff2a99ccbbce3d9 (diff)
temporary compilation fix for MSVC2010
git-svn-id: http://svn.miranda-ng.org/main/trunk@15184 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/Clist_modern/src/modern_clistmenus.cpp2
-rw-r--r--plugins/Clist_nicer/src/groupmenu.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/modern_clistmenus.cpp b/plugins/Clist_modern/src/modern_clistmenus.cpp
index dc8fab5110..eda760bf2e 100644
--- a/plugins/Clist_modern/src/modern_clistmenus.cpp
+++ b/plugins/Clist_modern/src/modern_clistmenus.cpp
@@ -124,7 +124,7 @@ static int FAV_OnContactMenuBuild(WPARAM hContact, LPARAM)
}
int i;
- mi.uid = MIID_LAST;
+ SET_UID(mi, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
for (i = 0; i < _countof(rates); i++) {
mi.flags = CMIF_TCHAR | ((bContactRate == i) ? CMIF_CHECKED : 0);
if (bModifyMenu && hFavoriteContactMenuItems[i])
diff --git a/plugins/Clist_nicer/src/groupmenu.cpp b/plugins/Clist_nicer/src/groupmenu.cpp
index 0aa1971282..bcea5f2fc4 100644
--- a/plugins/Clist_nicer/src/groupmenu.cpp
+++ b/plugins/Clist_nicer/src/groupmenu.cpp
@@ -132,7 +132,7 @@ void InitGroupMenus(void)
mi.name.a = LPGEN("Appearance");
mi.root = Menu_AddGroupMenuItem(&mi);
- mi.uid = MIID_LAST;
+ SET_UID(mi, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
mi.hIcolibItem = NULL;
mi.pszService = "CLISTMENUSGroup/CommandHelper";
CreateServiceFunction(mi.pszService, CommandHelper);