Fix for ASSA color - thx LeonCheung :)

Fix #4830
This commit is contained in:
Nikolaj Olsson 2021-02-22 07:56:16 +01:00
parent 6f19db7be2
commit 8d722f2373

View File

@ -1677,7 +1677,7 @@ Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text"
//Blue = &HFF0000&
//White = &HFFFFFF&
//Black = &H000000&
string s = f.Trim().Trim('&');
var s = f.Trim().Trim('&').ToLowerInvariant();
if (s.StartsWith('h') && s.Length < 7)
{