From 240f9ebf8445c6e9a569b40876db0681ffc8a1d0 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sun, 2 Sep 2018 16:13:00 -0400 Subject: Use PascalCase for constants Begone underscores. --- tab.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tab.c') 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; -- cgit 1.4.1-2-gfad0