Explorar o código

Fixed AppendF implicit index with width specifier

Brian Fiete %!s(int64=3) %!d(string=hai) anos
pai
achega
ca81fd14c2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      BeefLibs/corlib/src/String.bf

+ 1 - 1
BeefLibs/corlib/src/String.bf

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