diff options
Diffstat (limited to 'src/tree.c')
-rw-r--r-- | src/tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -309,9 +309,9 @@ find_keyword(struct grecs_keyword *cursect, grecs_node_t *node) if (strcmp(kwp->ident, node->ident) == 0) { found = kwp; if (kwp->callback - || node->down + || (node->down ? kwp->type == grecs_type_section - : kwp->type != grecs_type_section) + : kwp->type != grecs_type_section)) return kwp; } } |