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/UserInfoEx/src/svc_reminder.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/UserInfoEx/src/svc_reminder.cpp')
-rw-r--r-- | plugins/UserInfoEx/src/svc_reminder.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/UserInfoEx/src/svc_reminder.cpp b/plugins/UserInfoEx/src/svc_reminder.cpp index 79dccee665..3bfc5b6084 100644 --- a/plugins/UserInfoEx/src/svc_reminder.cpp +++ b/plugins/UserInfoEx/src/svc_reminder.cpp @@ -782,9 +782,7 @@ static INT OnContactSettingChanged(HANDLE hContact, DBCONTACTWRITESETTING* pdbcw VOID SvcReminderOnTopToolBarLoaded()
{
- TTBButton ttb = {0};
- ttb.cbSize = sizeof(ttb);
-
+ TTBButton ttb = { sizeof(ttb) };
ttb.dwFlags = TTBBF_VISIBLE | TTBBF_SHOWTOOLTIP;
ttb.pszService = MS_USERINFO_REMINDER_CHECK;
ttb.name = ttb.pszTooltipUp = LPGEN("Check anniversaries");
|