Updated to new api

This commit is contained in:
kipp 1998-06-03 16:01:25 +00:00
parent bb4f90a577
commit cd6f6d6e18

View File

@ -257,7 +257,7 @@ int main(int argc, char** argv)
NS_ASSERTION(container->CanContainChildren(),"");
container->SetDocument(myDoc);
container->AppendChild(text);
container->AppendChild(text, PR_FALSE);
if (container->ChildCount() != 1) {
printf("Container has wrong number of children.");
}