summaryrefslogtreecommitdiff
path: root/index.c
diff options
context:
space:
mode:
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);