diff options
author | George Hazan <george.hazan@gmail.com> | 2014-07-17 16:08:10 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-07-17 16:08:10 +0000 |
commit | 6256386699ebcb343383e10efc8143d50c9e7885 (patch) | |
tree | 5d4fc144b45c1d4af39620e33d6f9b6c96be1645 /plugins/Clist_nicer | |
parent | 800d1885d036ef2f7f1bc6f52f8855c03fb64705 (diff) |
- fix for the main threat hanging;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@9839 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer')
-rw-r--r-- | plugins/Clist_nicer/src/CLUIFrames/cluiframes.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/Clist_nicer/src/CLUIFrames/cluiframes.cpp b/plugins/Clist_nicer/src/CLUIFrames/cluiframes.cpp index 90d294c582..f850e92d61 100644 --- a/plugins/Clist_nicer/src/CLUIFrames/cluiframes.cpp +++ b/plugins/Clist_nicer/src/CLUIFrames/cluiframes.cpp @@ -1809,16 +1809,13 @@ INT_PTR CLUIFramesAddFrame(WPARAM wParam, LPARAM lParam) SetWindowPos(Frames[nFramescount].TitleBar.hwndTip, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE);
{
- TOOLINFOA ti;
- int res;
-
- ZeroMemory(&ti, sizeof(ti));
+ TOOLINFOA ti = { 0 };
ti.cbSize = sizeof(ti);
ti.lpszText = "";
ti.hinst = g_hInst;
ti.uFlags = TTF_IDISHWND | TTF_SUBCLASS;
ti.uId = (UINT_PTR)Frames[nFramescount].TitleBar.hwnd;
- res = SendMessageA(Frames[nFramescount].TitleBar.hwndTip, TTM_ADDTOOL, 0, (LPARAM)& ti);
+ SendMessageA(Frames[nFramescount].TitleBar.hwndTip, TTM_ADDTOOL, 0, (LPARAM)&ti);
}
SendMessage(Frames[nFramescount].TitleBar.hwndTip, TTM_ACTIVATE, (WPARAM)Frames[nFramescount].TitleBar.ShowTitleBarTip, 0);
|