diff options
author | Norbert Preining <norbert@preining.info> | 2021-07-04 03:01:24 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-07-04 03:01:24 +0000 |
commit | 7994f86ec5e18f9d0d9f90161a2f26dd26d26af7 (patch) | |
tree | 88edb7d1a1aed3183a1350202c898716b4ac59ce /macros/texinfo/texinfo/info/search.c | |
parent | 03fa062b03ce2bb5385f8f30888f94d441fa5cb4 (diff) |
CTAN sync 202107040301
Diffstat (limited to 'macros/texinfo/texinfo/info/search.c')
-rw-r--r-- | macros/texinfo/texinfo/info/search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/texinfo/texinfo/info/search.c b/macros/texinfo/texinfo/info/search.c index 9f1d5e26f7..990e3e9a43 100644 --- a/macros/texinfo/texinfo/info/search.c +++ b/macros/texinfo/texinfo/info/search.c @@ -715,7 +715,7 @@ find_node_in_binding (char *nodename, SEARCH_BINDING *binding) s.end = binding->end; s.flags = 0; - while ((position = find_node_separator (&s)) != -1) + while (s.start < s.end && (position = find_node_separator (&s)) != -1) { char *nodename_start; char *read_nodename; |