summaryrefslogtreecommitdiff
path: root/plugins/RecentContacts/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/RecentContacts/src')
-rw-r--r--plugins/RecentContacts/src/RecentContacts.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/RecentContacts/src/RecentContacts.cpp b/plugins/RecentContacts/src/RecentContacts.cpp
index 2e1b0b409e..86f737298a 100644
--- a/plugins/RecentContacts/src/RecentContacts.cpp
+++ b/plugins/RecentContacts/src/RecentContacts.cpp
@@ -461,8 +461,8 @@ int Create_TopToolbarShowList(WPARAM wParam, LPARAM lParam)
int Create_MenuitemShowList(void)
{
- CLISTMENUITEM mi = { 0 };
- mi.cbSize = sizeof(mi);
+ // !!!!!!!! check it later
+ CLISTMENUITEM mi = { sizeof(mi) };
mi.hIcon = Skin_GetIcon("recent_main");
mi.pszName = msLastUC_ShowListName;
mi.pszService = msLastUC_ShowList;
@@ -522,8 +522,7 @@ static void iconsInit(void)
static int OnPrebuildContactMenu (WPARAM wParam, LPARAM lParam)
{
- CLISTMENUITEM clmi = { 0 };
- clmi.cbSize = sizeof( clmi );
+ CLISTMENUITEM clmi = { sizeof(clmi) };
clmi.flags = CMIM_NAME | CMIF_TCHAR;
if ( DBGetContactSettingByte((HANDLE)wParam, dbLastUC_ModuleName, dbLastUC_IgnoreContact, 0) == 0)