[ColorPicker]Fix typo in ColorFormatHelper.cs (#22873)

occurence -> occurrence
This commit is contained in:
Ikko Ashimine
2022-12-21 00:02:20 +09:00
committed by GitHub
parent 0de4750fad
commit 37cb62f6eb

View File

@@ -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);
}