From 266b25180947bc768f44b7913bfe7e48d47aa9cd Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 10 Apr 2015 21:05:14 +0000 Subject: missed member initialization git-svn-id: http://svn.miranda-ng.org/main/trunk@12758 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/mir_core/src/ui_utils.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mir_core') 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() { -- cgit v1.2.3