}
}
else { // a key
+ size_t count = 0;
const wxChar *pEnd = pStart;
while ( *pEnd != wxT('=') && !wxIsspace(*pEnd) ) {
if ( *pEnd == wxT('\\') ) {
pEnd++;
}
+ count++;
pEnd++;
}
- wxString strKey(FilterInEntryName(wxString(pStart, pEnd)));
+ wxString strKey(FilterInEntryName(wxString(pStart, count)));
// skip whitespace
while ( isspace(*pEnd) )