mirror of
https://github.com/9ParsonsB/Pulsar.git
synced 2025-04-05 17:39:39 -04:00
Apply same test for string length for both ordinal operations
This commit is contained in:
parent
52aa9fb1e5
commit
565aaf0838
@ -86,7 +86,7 @@ namespace Observatory.Explorer
|
|||||||
|
|
||||||
if (new char[] { 'A', '0' }.Contains(ordChar))
|
if (new char[] { 'A', '0' }.Contains(ordChar))
|
||||||
{
|
{
|
||||||
ordinal = DecrementOrdinal(ordinal[..^1]);
|
ordinal = DecrementOrdinal(ordinal.Length == 1 ? " " : String.Empty + ordinal[..^1]);
|
||||||
ordChar = (char)(ordChar + 10);
|
ordChar = (char)(ordChar + 10);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user