don't add an extra empty line to the end (fixes bug introduced by the last optimization round)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b899f05f9e
commit
89216929ee
@ -479,7 +479,8 @@ wxFileConfig::wxFileConfig(wxInputStream &inStream, const wxMBConv& conv)
|
|||||||
|
|
||||||
// notice that we throw away the original EOL kind here, maybe we
|
// notice that we throw away the original EOL kind here, maybe we
|
||||||
// should preserve it?
|
// should preserve it?
|
||||||
memText.AddLine(wxString(s, e));
|
if ( e != s )
|
||||||
|
memText.AddLine(wxString(s, e));
|
||||||
|
|
||||||
if ( *e == '\0' )
|
if ( *e == '\0' )
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user