summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2021-12-10 18:34:21 +1300
committerOlly Betts <olly@survex.com>2021-12-10 18:34:21 +1300
commit4467c94fe9e4433a376bdaddaa54ad8b4edb5891 (patch)
tree2e074ea2e0b2199dccc86d0adff80384f046e527 /Source
parentfd013c344ac063b9feffc3023bbeee8d7159c841 (diff)
downloadswig-4467c94fe9e4433a376bdaddaa54ad8b4edb5891.tar.gz
Fix removeNode() to really unset previousSibling
There was a typo in attribute name so we attempted to remove the non-existent attribute prevSibling instead.
Diffstat (limited to 'Source')
-rw-r--r--Source/Swig/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Swig/tree.c b/Source/Swig/tree.c
index 46571fc09..e2162b7f1 100644
--- a/Source/Swig/tree.c
+++ b/Source/Swig/tree.c
@@ -225,7 +225,7 @@ void removeNode(Node *n) {
/* Delete attributes */
Delattr(n,"parentNode");
Delattr(n,"nextSibling");
- Delattr(n,"prevSibling");
+ Delattr(n,"previousSibling");
}
/* -----------------------------------------------------------------------------