htmlLen += PL_strlen(" COLOR=") + PL_strlen(color);
htmlLen += nsCRT::strlen(" COLOR=") + nsCRT::strlen(color);
static int OutputFont(MimeObject *obj, PRBool endFont, char * size, char* color){	int status = 0;	char * htmlLine = NULL;	if (endFont)		status = WriteEachLineToStream (obj, "</FONT>");	else	{		int htmlLen = PL_strlen("<FONT>") + 1;		if (size)			htmlLen += PL_strlen(" SIZE=") + PL_strlen(size);		if (color)			htmlLen += PL_strlen(" COLOR=") + PL_strlen(color);		if (size || color)			htmlLen++;		htmlLine = (char *) PR_MALLOC (htmlLen);		if (htmlLine)		{			htmlLine[0] = '\0';				PL_strcat (htmlLine, "<FONT");			if (size)			{					PL_strcat (htmlLine, " SIZE=");				PL_strcat (htmlLine, size);			}			if (color)			{					PL_strcat (htmlLine, " COLOR=");				PL_strcat (htmlLine, color);			}			if (size || color)				PL_strcat (htmlLine, " ");			PL_strcat (htmlLine, ">");			status = COM_MimeObject_write(obj, htmlLine, PL_strlen(htmlLine), PR_TRUE);			PR_Free ((void*) htmlLine);		}		else			status = VCARD_OUT_OF_MEMORY;	}	return status;}