don't add dummy empty line at the end when reading from stream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
4c420a80e0
commit
45d51f194a
@ -527,7 +527,8 @@ wxFileConfig::wxFileConfig(wxInputStream &inStream, wxMBConv& conv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// also add whatever we have left in the translated string.
|
// also add whatever we have left in the translated string.
|
||||||
memText.AddLine(strTrans);
|
if ( !strTrans.empty() )
|
||||||
|
memText.AddLine(strTrans);
|
||||||
|
|
||||||
// Finally we can parse it all.
|
// Finally we can parse it all.
|
||||||
Parse(memText, true /* local */);
|
Parse(memText, true /* local */);
|
||||||
|
Loading…
Reference in New Issue
Block a user