aboutsummaryrefslogtreecommitdiff
path: root/sys/libbio/phylo.c
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-04-28 13:43:51 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-04-28 13:43:51 -0700
commita0bfa46946d1434f320cfbdd54c9f0cbcdcf815e (patch)
tree4f0a4039890be82216a0808be085e70c96bf43b3 /sys/libbio/phylo.c
parent46192472bd8df22548e22e13aa55b9ac76a14745 (diff)
fix: allow for quoted identifiers to contain any character
Diffstat (limited to 'sys/libbio/phylo.c')
-rw-r--r--sys/libbio/phylo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/libbio/phylo.c b/sys/libbio/phylo.c
index c5fd3ed..c1ace7a 100644
--- a/sys/libbio/phylo.c
+++ b/sys/libbio/phylo.c
@@ -52,7 +52,7 @@ phylo·countleafs(bio·Node *node, int *n)
error err;
bio·Node *child;
- if (node->nchild) {
+ if (!node->nchild) {
*n += 1;
}