diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-10 12:45:32 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-10 12:45:32 +0000 |
commit | 6ac63284a8f93f977db66673727d4995a86764c4 (patch) | |
tree | 79d7e0b6744e1de21e6c01c0b0869be8927621a1 /plugins/WhenWasIt/src/hooked_events.cpp | |
parent | 102a413497df49bd2af8ee0a1770718fa0ecfcc2 (diff) |
various TTB initialization issues
git-svn-id: http://svn.miranda-ng.org/main/trunk@3957 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/WhenWasIt/src/hooked_events.cpp')
-rw-r--r-- | plugins/WhenWasIt/src/hooked_events.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/WhenWasIt/src/hooked_events.cpp b/plugins/WhenWasIt/src/hooked_events.cpp index 758b4f4bea..2f646eaf6a 100644 --- a/plugins/WhenWasIt/src/hooked_events.cpp +++ b/plugins/WhenWasIt/src/hooked_events.cpp @@ -120,8 +120,7 @@ int OnModulesLoaded(WPARAM wParam, LPARAM lParam) int OnTopToolBarModuleLoaded(WPARAM wParam, LPARAM lParam)
{
- TTBButton ttb = {0};
- ttb.cbSize = sizeof(ttb);
+ TTBButton ttb = { sizeof(ttb) };
ttb.dwFlags = TTBBF_VISIBLE | TTBBF_SHOWTOOLTIP;
ttb.pszService = MS_WWI_CHECK_BIRTHDAYS;
ttb.hIconHandleUp = hCheckMenu;
|