initialize m_nCurLine in wxTextBuffer ctor (part of patch 1908134)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-03-15 02:38:43 +00:00
parent 78de549990
commit 540ed0d7f4
2 changed files with 2 additions and 1 deletions

View File

@@ -172,7 +172,7 @@ protected:
// -----
// default ctor, use Open(string)
wxTextBuffer() { m_isOpened = false; }
wxTextBuffer() { m_nCurLine = 0; m_isOpened = false; }
// ctor from filename
wxTextBuffer(const wxString& strBufferName);