fix NULL problem for IsUTF8String

This commit is contained in:
ftang%netscape.com 1998-08-24 20:38:02 +00:00
parent cc3661d15e
commit 830aa29282

View File

@ -487,6 +487,8 @@ makeResourceName (RDF_Resource node)
PRBool IsUTF8String(const char* utf8)
{
if(NULL == utf8)
return TRUE;
return IsUTF8Text(utf8, strlen(utf8));
}
PRBool IsUTF8Text(const char* utf8, int32 len)