diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-13 22:42:50 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-13 22:42:50 +0000 |
commit | f0e0f8df9afe935855724ae95e93093f04ca8e9a (patch) | |
tree | 4b13f28361f1fd482a7d3a0119fdee4624915881 /src/modules/button | |
parent | fc5bf903988ed773e8fc0199fb5a427ced6b01d9 (diff) |
fix for random crash in tooltips
git-svn-id: http://svn.miranda-ng.org/main/trunk@403 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/button')
-rw-r--r-- | src/modules/button/button.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/button/button.cpp b/src/modules/button/button.cpp index 1c6bd79980..5bbc752d5d 100644 --- a/src/modules/button/button.cpp +++ b/src/modules/button/button.cpp @@ -476,7 +476,7 @@ static LRESULT CALLBACK MButtonWndProc(HWND hwndDlg, UINT msg, WPARAM wParam, L TTooltips *ptt = ( TTooltips* )mir_alloc( sizeof(TTooltips) );
ptt->ThreadId = tt.ThreadId;
ptt->hwnd = CreateWindowEx(WS_EX_TOPMOST, TOOLTIPS_CLASS, _T(""), TTS_ALWAYSTIP, 0, 0, 0, 0, NULL, NULL, hMirandaInst, NULL);
- lToolTips.insert(ptt, idx);
+ lToolTips.insert(ptt);
bct->hwndToolTips = ptt->hwnd;
}
LeaveCriticalSection(&csTips);
|