summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorJune McEnroe2022-07-30 18:55:09 -0400
committerJune McEnroe2022-07-30 18:55:09 -0400
commitb373a5c0919c972f69d44785ad74aa37afe113de (patch)
tree019e418d6c7cbe347db0b3aa522a5f0ac93a5145 /chat.h
parent14a6486b9b2b9522982cde12c05b20931fe34999 (diff)
Rename cache{Prefix,Substr} to cache{Complete,Search}
Diffstat (limited to 'chat.h')
-rw-r--r--chat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/chat.h b/chat.h
index ea4ece3..1bc5f8f 100644
--- a/chat.h
+++ b/chat.h
@@ -404,8 +404,8 @@ void cacheInsert(bool touch, uint id, const char *key);
 void cacheInsertColor(bool touch, uint id, const char *key, enum Color color);
 void cacheReplace(bool touch, const char *old, const char *new);
 enum Color cacheColor(uint id, const char *key);
-const char *cachePrefix(struct Cursor *curs, uint id, const char *prefix);
-const char *cacheSubstr(struct Cursor *curs, uint id, const char *substr);
+const char *cacheComplete(struct Cursor *curs, uint id, const char *prefix);
+const char *cacheSearch(struct Cursor *curs, uint id, const char *substr);
 uint cacheID(struct Cursor *curs, const char *key);
 void cacheAccept(struct Cursor *curs);
 void cacheReject(struct Cursor *curs);