git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2413
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
}
else { // a key
const wxChar *pEnd = pStart;
- while ( !wxIsspace(*pEnd) ) {
+ while ( *pEnd != _T('=') && !wxIsspace(*pEnd) ) {
if ( *pEnd == _T('\\') ) {
// next character may be space or not - still take it because it's
// quoted
if ( bUser ) {
wxString strVal = FilterOutValue(strValue);
wxString strLine;
- strLine << FilterOutEntryName(m_strName) << _T(" = ") << strVal;
+ strLine << FilterOutEntryName(m_strName) << _T('=') << strVal;
if ( m_pLine != NULL ) {
// entry was read from the local config file, just modify the line