diff options
| author | Simon Tatham <anakin@pobox.com> | 1999-11-07 17:28:56 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 1999-11-07 17:28:56 +0000 |
| commit | 6dff7b9ee671925f8c5dae1cd34bdc55f3236c38 (patch) | |
| tree | 508f964352527635b7eb4d7910b9d4a1201c21ea /keywords.c | |
| parent | 18171f661f78e141d24c3990c5db4346213d440b (diff) | |
| download | halibut-6dff7b9ee671925f8c5dae1cd34bdc55f3236c38.zip halibut-6dff7b9ee671925f8c5dae1cd34bdc55f3236c38.tar.gz halibut-6dff7b9ee671925f8c5dae1cd34bdc55f3236c38.tar.bz2 halibut-6dff7b9ee671925f8c5dae1cd34bdc55f3236c38.tar.xz | |
Configurability backbone, and first use of it
[originally from svn r275]
Diffstat (limited to 'keywords.c')
| -rw-r--r-- | keywords.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -90,6 +90,8 @@ keywordlist *get_keywords(paragraph *source) { numberstate *n = number_init(); int prevpara = para_NotParaType; + number_cfg(n, source); + kl->nkeywords = 0; kl->size = 0; kl->keys = NULL; @@ -112,7 +114,7 @@ keywordlist *get_keywords(paragraph *source) { kw->text = source->kwtext; kw->para = source; heap_add(kl, kw); - p += ustrlen(p) + 1; + p = uadv(p); } } } else { |