// fill-in name, params and begin pos:
m_Name = m_Params = wxEmptyString;
i = pos+1;
// fill-in name, params and begin pos:
m_Name = m_Params = wxEmptyString;
i = pos+1;
m_Name += c;
}
// if the tag has parameters, read them and "normalize" them,
// i.e. convert to uppercase, replace whitespaces by spaces and
// remove whitespaces around '=':
m_Name += c;
}
// if the tag has parameters, read them and "normalize" them,
// i.e. convert to uppercase, replace whitespaces by spaces and
// remove whitespaces around '=':
- if ((c >= 'a') && (c <= 'z')) c -= ('a' - 'A');
- if (c == '\r' || c == '\n' || c == '\t') c = ' '; // make future parsing a bit simpler
+ if ((c >= wxT('a')) && (c <= wxT('z')))
+ c -= (wxT('a') - wxT('A'));
+ if (c == wxT('\r') || c == wxT('\n') || c == wxT('\t'))
+ c = wxT(' '); // make future parsing a bit simpler
int wxHtmlTag::ScanParam(const wxString& par, wxChar *format, void *param) const
{
wxString parval = GetParam(par);
int wxHtmlTag::ScanParam(const wxString& par, wxChar *format, void *param) const
{
wxString parval = GetParam(par);