From: Vadim Zeitlin Date: Fri, 26 Oct 2007 22:53:26 +0000 (+0000) Subject: reverted the change of r32940 which worked around a bug due to associating a dummy... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9534d0dfdc3c6fad8ea5d5fd31bbb6f20650929b reverted the change of r32940 which worked around a bug due to associating a dummy line with the root group, it's no longer necessary now that the root group line is always NULL git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/fileconf.cpp b/src/common/fileconf.cpp index a09919e726..09a66cf6b1 100644 --- a/src/common/fileconf.cpp +++ b/src/common/fileconf.cpp @@ -1312,9 +1312,6 @@ void wxFileConfig::LineListRemove(wxFileConfigLineList *pLine) else pNext->SetPrev(pPrev); - if ( m_pRootGroup->GetGroupLine() == pLine ) - m_pRootGroup->SetLine(m_linesHead); - wxLogTrace( FILECONF_TRACE_MASK, _T(" head: %s"), ((m_linesHead) ? (const wxChar*)m_linesHead->Text().c_str()