From 7dfdce6b02b6ec828d7e5519d8d67438147e9bb8 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Sun, 15 Feb 2004 12:55:35 +0000 Subject: [PATCH] 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 --- src/common/fileconf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.50.0