This allows white space to be in the name

of a key (as KDE ini files allow it).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2004-02-15 12:55:35 +00:00
parent 86132a69bc
commit 7dfdce6b02

View File

@@ -663,7 +663,7 @@ void wxFileConfig::Parse(wxTextBuffer& buffer, bool bLocal)
}
else { // a key
const wxChar *pEnd = pStart;
while ( *pEnd && *pEnd != wxT('=') && !wxIsspace(*pEnd) ) {
while ( *pEnd && *pEnd != wxT('=') /* && !wxIsspace(*pEnd)*/ ) {
if ( *pEnd == wxT('\\') ) {
// next character may be space or not - still take it because it's
// quoted (unless there is nothing)