Lines Matching defs:unitArg
228 int ParseUnitArgument(wxChar *unitArg)
232 int len = wxStrlen(unitArg);
235 if (unitArg[i] == '\\')
236 unitArg[i] = 0;
237 len = wxStrlen(unitArg);
239 if (unitArg && (len > 0) && (isdigit(unitArg[0]) || unitArg[0] == '-'))
241 wxSscanf(unitArg, _T("%f"), &unitValue);
245 units[0] = unitArg[len-2];
246 units[1] = unitArg[len-1];