Skip to content

Commit 0e86ec0

Browse files
committed
another ordinal
1 parent 7b97196 commit 0e86ec0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CSharpMath/Atom/LaTeXSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ public static class LaTeXSettings {
357357

358358
public static Color? ParseColor(string? hexOrName) {
359359
if (hexOrName == null) return null;
360-
if (hexOrName.StartsWith("#", StringComparison.InvariantCulture)) {
360+
if (hexOrName.StartsWith("#", StringComparison.Ordinal)) {
361361
var hex = hexOrName.Substring(1);
362362
return
363363
(hex.Length, int.TryParse(hex, NumberStyles.HexNumber, CultureInfo.InvariantCulture, out var i)) switch

0 commit comments

Comments
 (0)