diff --git a/src/common/ManagedCommon/ColorFormatHelper.cs b/src/common/ManagedCommon/ColorFormatHelper.cs index b740f524d8..d69796e202 100644 --- a/src/common/ManagedCommon/ColorFormatHelper.cs +++ b/src/common/ManagedCommon/ColorFormatHelper.cs @@ -348,7 +348,7 @@ namespace ManagedCommon formatString = string.Concat(formatString.AsSpan(0, formatterPosition), GetStringRepresentation(color.Value, paramFormat, paramType), formatString.AsSpan(formatterPosition + paramCount + 1)); } - // search for the next occurence of the formatter char + // search for the next occurrence of the formatter char formatterPosition = formatString.IndexOf('%', formatterPosition + 1); }