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:
@@ -527,7 +527,8 @@ wxFileConfig::wxFileConfig(wxInputStream &inStream, wxMBConv& conv)
|
||||
}
|
||||
|
||||
// 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.
|
||||
Parse(memText, true /* local */);
|
||||
|
Reference in New Issue
Block a user