initialize m_nCurLine in wxTextBuffer ctor (part of patch 1908134)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-03-15 02:38:43 +00:00
parent b1859b1a1b
commit 1ac140d2a1

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);