mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-10 05:06:36 +02:00
[ColorPicker]Fix typo in ColorFormatHelper.cs (#22873)
occurence -> occurrence
This commit is contained in:
@@ -348,7 +348,7 @@ namespace ManagedCommon
|
|||||||
formatString = string.Concat(formatString.AsSpan(0, formatterPosition), GetStringRepresentation(color.Value, paramFormat, paramType), formatString.AsSpan(formatterPosition + paramCount + 1));
|
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);
|
formatterPosition = formatString.IndexOf('%', formatterPosition + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user