summaryrefslogtreecommitdiff
path: root/index.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>1999-11-07 17:28:56 +0000
committerSimon Tatham <anakin@pobox.com>1999-11-07 17:28:56 +0000
commit6dff7b9ee671925f8c5dae1cd34bdc55f3236c38 (patch)
tree508f964352527635b7eb4d7910b9d4a1201c21ea /index.c
parent18171f661f78e141d24c3990c5db4346213d440b (diff)
downloadhalibut-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 'index.c')
-rw-r--r--index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.c b/index.c
index 1b1f4c1..de30691 100644
--- a/index.c
+++ b/index.c
@@ -69,7 +69,7 @@ void index_merge(index *idx, int is_explicit, wchar_t *tags, word *text) {
/*
* FIXME: want to warn on overlapping source sets.
*/
- for (; *tags; tags += 1+ustrlen(tags)) {
+ for (; *tags; tags = uadv(tags)) {
t = make_indextag();
t->name = tags;
existing = add23(idx->tags, t, compare_tags);