mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 08:42:13 +00:00
Small fix... use '\0' instead of NULL.
This commit is contained in:
parent
395d72ddbd
commit
8e8c9f99da
@ -5308,7 +5308,7 @@ constructHTML(char *dynStr, HT_Resource node, void *token, uint32 tokenType)
|
||||
temp1 = PR_smprintf(html, tokenName, resourceID((RDF_Resource)token), (data) ? data:"");
|
||||
}
|
||||
}
|
||||
else if ((data != NULL) && ((*data) != NULL))
|
||||
else if ((data != NULL) && ((*data) != '\0'))
|
||||
{
|
||||
html=XP_GetString(RDF_HTML_STR_3);
|
||||
temp1 = PR_smprintf(html, tokenName, (data) ? data:"");
|
||||
|
Loading…
Reference in New Issue
Block a user