Should've added a few more cases to that bugfix switch.

This commit is contained in:
John Coggeshall 2003-11-03 22:34:44 +00:00
parent 8a36e954f0
commit 5d0f70a004

View File

@ -989,6 +989,9 @@ static void tidy_add_default_properities(PHPTidyObj *obj, tidy_obj_type type TSR
ADD_PROPERITY_STRING(obj->std.properties, name, tidyNodeGetName(obj->node));
ADD_PROPERITY_LONG(obj->std.properties, type, tidyNodeGetType(obj->node));
switch(tidyNodeGetType(obj->node)) {
case TidyNode_Root:
case TidyNode_DocType:
case TidyNode_Text:
case TidyNode_Comment:
break;