- if (tag.HasParam(wxT("SIZE")))
- {
- long tmp = 0;
- wxChar c = tag.GetParam(wxT("SIZE"))[(unsigned int) 0];
- if (tag.ScanParam(wxT("SIZE"), wxT("%li"), &tmp) == 1)
- {
- if (c == '+' || c == '-')
+ if (tag.HasParam(wxT("SIZE")))
+ {
+ int tmp = 0;
+ wxChar c = tag.GetParam(wxT("SIZE")).GetChar(0);
+ if (tag.GetParamAsInt(wxT("SIZE"), &tmp))
+ {
+ if (c == wxT('+') || c == wxT('-'))