diff --git a/programs/network/htmlv/browser/include/colors.h b/programs/network/htmlv/browser/include/colors.h index a1ba853236..a40b9a0258 100644 --- a/programs/network/htmlv/browser/include/colors.h +++ b/programs/network/htmlv/browser/include/colors.h @@ -156,9 +156,9 @@ dword StrToCol(char* htmlcolor) textlen=0; 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) {