From: Robert Roebling Date: Sun, 15 Feb 2004 12:55:35 +0000 (+0000) Subject: This allows white space to be in the name X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7dfdce6b02b6ec828d7e5519d8d67438147e9bb8 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 --- diff --git a/src/common/fileconf.cpp b/src/common/fileconf.cpp index 071b90f243..4dc63b3ada 100644 --- a/src/common/fileconf.cpp +++ b/src/common/fileconf.cpp @@ -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)