diff --git a/src/common/fileconf.cpp b/src/common/fileconf.cpp index 4dc63b3ada..e3af92c28a 100644 --- a/src/common/fileconf.cpp +++ b/src/common/fileconf.cpp @@ -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) )