diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-21 18:23:09 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-21 18:23:09 +0000 |
commit | b28058f5859211b00ba9ca287b751ed21ccebac5 (patch) | |
tree | 630d46b1ab9f159c76b65252c99ee3f0520cf763 /src/modules | |
parent | 1cff03ea69bce85c652ac19d5cb059f12695509c (diff) |
- fix for the double subclassing
- valid initialization of clist buttons
git-svn-id: http://svn.miranda-ng.org/main/trunk@516 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules')
-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 c55c4f807f..6793391fe6 100644 --- a/src/modules/button/button.cpp +++ b/src/modules/button/button.cpp @@ -507,7 +507,7 @@ static LRESULT CALLBACK MButtonWndProc(HWND hwndDlg, UINT msg, WPARAM wParam, L case BUTTONSETCUSTOM:
{
MButtonCustomize *pCustom = (MButtonCustomize*)lParam;
- if (pCustom == NULL)
+ if (pCustom == NULL || bct->fnWindowProc)
break;
bct = (MButtonCtrl*)mir_realloc(bct, pCustom->cbLen);
|