diff options
Diffstat (limited to 'src/complete.c')
| -rw-r--r-- | src/complete.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/complete.c b/src/complete.c index 0a7055b..fd889b2 100644 --- a/src/complete.c +++ b/src/complete.c @@ -47,12 +47,13 @@ void comp_add_pm_chan(const char *n) { } char match(const char *p, const char *q) { + extern unsigned char strlen8(const char *str); char len; while(*p == '#') p++; while(*q == '#') q++; - len = strlen(p); + len = strlen8(p); if(!len) return 0; return strneq_i(p, q, len); |
