about summary refs log tree commit diff
path: root/tab.c
diff options
context:
space:
mode:
Diffstat (limited to 'tab.c')
-rw-r--r--tab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tab.c b/tab.c
index a242365..9a1e478 100644
--- a/tab.c
+++ b/tab.c
@@ -121,14 +121,14 @@ struct Tag tabTag(const char *word) {
 		return entry->tag;
 	}
 	iter = NULL;
-	return TAG_NONE;
+	return TagNone;
 }
 
 const char *tabNext(struct Tag tag, const char *prefix) {
 	size_t len = strlen(prefix);
 	struct Entry *start = (iter ? iter->next : head);
 	for (struct Entry *entry = start; entry; entry = entry->next) {
-		if (entry->tag.id != TAG_NONE.id && entry->tag.id != tag.id) continue;
+		if (entry->tag.id != TagNone.id && entry->tag.id != tag.id) continue;
 		if (strncasecmp(entry->word, prefix, len)) continue;
 		iter = entry;
 		return entry->word;