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