forked from KolibriOS/kolibrios
HTMLv: small fix
git-svn-id: svn://kolibrios.org@2885 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
49e86ce233
commit
2a2f8aee7f
@ -156,9 +156,9 @@ dword StrToCol(char* htmlcolor)
|
|||||||
textlen=0;
|
textlen=0;
|
||||||
char ch=0x00;
|
char ch=0x00;
|
||||||
|
|
||||||
if (ESBYTE[htmlcolor]<>'#') return;
|
if (ESBYTE[htmlcolor]<>'#') return text_colors[0];
|
||||||
|
|
||||||
textlen= strlen(htmlcolor);
|
textlen = strlen(htmlcolor);
|
||||||
|
|
||||||
if (textlen==7) || (textlen==4)
|
if (textlen==7) || (textlen==4)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user