diff options
author | George Hazan <george.hazan@gmail.com> | 2015-04-10 21:05:14 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-04-10 21:05:14 +0000 |
commit | 266b25180947bc768f44b7913bfe7e48d47aa9cd (patch) | |
tree | 5529bd261f8b5333bcb08fa0be69ae2da10eb644 /src/mir_core | |
parent | d93da6f81cc6e4105342f4adc60bf32a78c355e4 (diff) |
missed member initialization
git-svn-id: http://svn.miranda-ng.org/main/trunk@12758 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/mir_core')
-rw-r--r-- | src/mir_core/src/ui_utils.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mir_core/src/ui_utils.cpp b/src/mir_core/src/ui_utils.cpp index b104dde4c3..22f46ea743 100644 --- a/src/mir_core/src/ui_utils.cpp +++ b/src/mir_core/src/ui_utils.cpp @@ -1767,7 +1767,9 @@ CCtrlBase::CCtrlBase(CDlgBase *wnd, int idCtrl) : if (wnd) {
m_next = wnd->m_first;
wnd->m_first = this;
-} }
+ }
+ else m_next = NULL;
+}
void CCtrlBase::OnInit()
{
|