| 10215 | } |
| 10216 | |
| 10217 | VarSizeType Script::GetFormatFloat(char *aBuf) |
| 10218 | { |
| 10219 | if (!aBuf) |
| 10220 | return (VarSizeType)strlen(g.FormatFloat); // Include the extra chars since this is just an estimate. |
| 10221 | strlcpy(aBuf, g.FormatFloat + 1, strlen(g.FormatFloat + 1)); // Omit the leading % and the trailing 'f'. |
| 10222 | return (VarSizeType)strlen(aBuf); |
| 10223 | } |
| 10224 | |
| 10225 | VarSizeType Script::GetKeyDelay(char *aBuf) |
| 10226 | { |