diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-11 21:53:08 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-11 21:53:08 +0000 |
commit | 2b982f8a1f23ae29136f62fb3819df50c281e19f (patch) | |
tree | 2bcd75424aa5187212a888fa57f1ff63a6baa8ae /plugins/RecentContacts | |
parent | c25eab397cf1ab92b1d6fa5933a6981ba0409bd7 (diff) |
rest of minor TopToolbar_AddButton issues
git-svn-id: http://svn.miranda-ng.org/main/trunk@3981 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/RecentContacts')
-rw-r--r-- | plugins/RecentContacts/src/RecentContacts.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/plugins/RecentContacts/src/RecentContacts.cpp b/plugins/RecentContacts/src/RecentContacts.cpp index 81fa8437f9..a2ea520d27 100644 --- a/plugins/RecentContacts/src/RecentContacts.cpp +++ b/plugins/RecentContacts/src/RecentContacts.cpp @@ -444,13 +444,12 @@ static int OnContactSettingChanged( WPARAM wParam, LPARAM lParam ) int Create_TopToolbarShowList(WPARAM wParam, LPARAM lParam)
{
- TTBButton ttbb = {0};
- ttbb.cbSize = sizeof(ttbb);
- ttbb.hIconHandleUp = icon.hIcolib;
- ttbb.pszService = msLastUC_ShowList;
- ttbb.dwFlags = TTBBF_VISIBLE | TTBBF_SHOWTOOLTIP;
- ttbb.name = ttbb.pszTooltipUp = msLastUC_ShowListName;
- hTopToolbarButtonShowList = TopToolbar_AddButton(&ttbb);
+ TTBButton ttb = { sizeof(ttb) };
+ ttb.hIconHandleUp = icon.hIcolib;
+ ttb.pszService = msLastUC_ShowList;
+ ttb.dwFlags = TTBBF_VISIBLE | TTBBF_SHOWTOOLTIP;
+ ttb.name = ttb.pszTooltipUp = msLastUC_ShowListName;
+ hTopToolbarButtonShowList = TopToolbar_AddButton(&ttb);
return 0;
}
|