Trim trailing spaces from key names when parsing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -677,7 +677,7 @@ void wxFileConfig::Parse(wxTextBuffer& buffer, bool bLocal)
|
||||
pEnd++;
|
||||
}
|
||||
|
||||
wxString strKey(FilterInEntryName(wxString(pStart, pEnd)));
|
||||
wxString strKey(FilterInEntryName(wxString(pStart, pEnd).Trim()));
|
||||
|
||||
// skip whitespace
|
||||
while ( wxIsspace(*pEnd) )
|
||||
|
Reference in New Issue
Block a user