]> git.saurik.com Git - wxWidgets.git/commitdiff
This allows white space to be in the name
authorRobert Roebling <robert@roebling.de>
Sun, 15 Feb 2004 12:55:35 +0000 (12:55 +0000)
committerRobert Roebling <robert@roebling.de>
Sun, 15 Feb 2004 12:55:35 +0000 (12:55 +0000)
  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

index 071b90f243423f33a7478da46acdfd8945410338..4dc63b3adaf21f01bdee824dba6d26fb756ae26e 100644 (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)