diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-28 15:20:06 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-28 15:20:06 +0000 |
commit | dcc561ccf83c7468bf512ab94db0c34bfdb49dfc (patch) | |
tree | b71f88f9be3198372f8e8cf11fa6c4093367a8dc /plugins/SimpleStatusMsg | |
parent | 7cd632b27e8bbae2005518606666547144c100dc (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@14428 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SimpleStatusMsg')
-rw-r--r-- | plugins/SimpleStatusMsg/src/main.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/SimpleStatusMsg/src/main.cpp b/plugins/SimpleStatusMsg/src/main.cpp index 6281cde036..e017f3b7ec 100644 --- a/plugins/SimpleStatusMsg/src/main.cpp +++ b/plugins/SimpleStatusMsg/src/main.cpp @@ -1400,12 +1400,12 @@ VOID CALLBACK UpdateMsgTimerProc(HWND hwnd, UINT uMsg, UINT_PTR idEvent, DWORD d static int AddTopToolbarButton(WPARAM wParam, LPARAM lParam)
{
- TTBButton ttbb = { sizeof(ttbb) };
- ttbb.hIconHandleUp = ttbb.hIconHandleDn = GetIconHandle(IDI_CSMSG);
- ttbb.pszService = MS_SIMPLESTATUSMSG_SHOWDIALOGINT;
- ttbb.dwFlags = TTBBF_VISIBLE | TTBBF_SHOWTOOLTIP;
- ttbb.name = ttbb.pszTooltipUp = LPGEN("Change status message");
- hTTBButton = TopToolbar_AddButton(&ttbb);
+ TTBButton tbb = { 0 };
+ tbb.hIconHandleUp = tbb.hIconHandleDn = GetIconHandle(IDI_CSMSG);
+ tbb.pszService = MS_SIMPLESTATUSMSG_SHOWDIALOGINT;
+ tbb.dwFlags = TTBBF_VISIBLE | TTBBF_SHOWTOOLTIP;
+ tbb.name = tbb.pszTooltipUp = LPGEN("Change status message");
+ hTTBButton = TopToolbar_AddButton(&tbb);
ReleaseIconEx("csmsg");
return 0;
|