1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-11 04:52:21 +02:00

Fixed AppendF implicit index with width specifier

This commit is contained in:
Brian Fiete 2022-06-23 05:21:32 -07:00
parent f47d9e0b01
commit ca81fd14c2

View file

@ -1313,7 +1313,7 @@ namespace System
if (pos == len || (ch = format[pos]) < '0' || ch > '9') if (pos == len || (ch = format[pos]) < '0' || ch > '9')
{ {
if ((pos < len) && if ((pos < len) &&
((ch == '}') || (ch == ':'))) ((ch == '}') || (ch == ':') || (ch == ',')))
index = autoArgIdx++; index = autoArgIdx++;
else else
return FormatError(); return FormatError();