summaryrefslogtreecommitdiff
path: root/plugins/Exchange/src/hooked_events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Exchange/src/hooked_events.cpp')
-rw-r--r--plugins/Exchange/src/hooked_events.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/Exchange/src/hooked_events.cpp b/plugins/Exchange/src/hooked_events.cpp
index 7ee2eec3b6..7f6bd40295 100644
--- a/plugins/Exchange/src/hooked_events.cpp
+++ b/plugins/Exchange/src/hooked_events.cpp
@@ -60,13 +60,13 @@ int OnModulesLoaded(WPARAM, LPARAM)
{
UpdateTimers();
- CLISTMENUITEM cl = {0};
- cl.hIcon = hiMailIcon;
- cl.position = 10000000;
- cl.pszService = MS_EXCHANGE_CHECKEMAIL;
- cl.flags = CMIF_TCHAR;
- cl.ptszName = LPGENT("Check exchange mailbox");
- Menu_AddMainMenuItem (&cl);
+ CLISTMENUITEM mi = {0};
+ mi.icolibItem = hiMailIcon;
+ mi.position = 10000000;
+ mi.pszService = MS_EXCHANGE_CHECKEMAIL;
+ mi.flags = CMIF_TCHAR;
+ mi.name.t = LPGENT("Check exchange mailbox");
+ Menu_AddMainMenuItem(&mi);
hEmailsDlg = NULL; //CreateDialog(hInstance, MAKEINTRESOURCE(IDD_EMAILS), NULL, DlgProcEmails); //create emails window
FirstTimeCheck();