From 37cb62f6eb9e921a846e210f91846f07f3b10491 Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Wed, 21 Dec 2022 00:02:20 +0900 Subject: [PATCH] [ColorPicker]Fix typo in ColorFormatHelper.cs (#22873) occurence -> occurrence --- src/common/ManagedCommon/ColorFormatHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }