diff options
author | George Hazan <george.hazan@gmail.com> | 2013-09-22 15:07:00 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-09-22 15:07:00 +0000 |
commit | 83e9c1e2acab87c30807ede38f022e71a697f9e5 (patch) | |
tree | 228c81fd196751b7c614063dec81ee1ec4807fc6 /src/modules/clist/groups.cpp | |
parent | 1dad958015778d3486838bf3c93fff1793aa5406 (diff) |
pre-XP headers cleaned
git-svn-id: http://svn.miranda-ng.org/main/trunk@6183 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/clist/groups.cpp')
-rw-r--r-- | src/modules/clist/groups.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/clist/groups.cpp b/src/modules/clist/groups.cpp index d01e485dd2..73aba22dab 100644 --- a/src/modules/clist/groups.cpp +++ b/src/modules/clist/groups.cpp @@ -470,7 +470,6 @@ static INT_PTR BuildGroupMenu(WPARAM, LPARAM) int nextMenuId = 100;
TCHAR *pBackslash, *pNextField, szThisField[128], szThisMenuItem[128];
int menuId, compareResult, menuItemCount;
- MENUITEMINFO mii = { 0 };
if (db_get_utf(NULL, "CListGroups", "0", &dbv))
return (INT_PTR) (HMENU) NULL;
@@ -483,7 +482,8 @@ static INT_PTR BuildGroupMenu(WPARAM, LPARAM) pNextField = dbv.ptszVal + 1;
hThisMenu = hRootMenu;
- mii.cbSize = MENUITEMINFO_V4_SIZE;
+
+ MENUITEMINFO mii = { sizeof(mii) };
do {
pBackslash = _tcschr(pNextField, '\\');
if (pBackslash == NULL) {
|