Fix removeNode() to really unset previousSibling

There was a typo in attribute name so we attempted to remove the
non-existent attribute prevSibling instead.
This commit is contained in:
Olly Betts 2021-12-10 18:34:21 +13:00
commit 4467c94fe9

View file

@ -225,7 +225,7 @@ void removeNode(Node *n) {
/* Delete attributes */
Delattr(n,"parentNode");
Delattr(n,"nextSibling");
Delattr(n,"prevSibling");
Delattr(n,"previousSibling");
}
/* -----------------------------------------------------------------------------