* fixed wrong colors used when from css

git-svn-id: trunk@21762 -
This commit is contained in:
andrew 2009-09-19 01:37:06 +00:00
parent cc41dd2339
commit 34fedff730

View File

@ -169,7 +169,7 @@ begin
Result := -1;
if S = '' then
Exit;
S := UpperCase(S);
S := UpperCase(Trim(S));
if S[1] = '#' then
if length(S) <> 7 then
exit