From 03931d4bb36bea2b0ae1193c8e9ffcfc465ee6d3 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Thu, 17 Jun 2021 19:07:56 -0400 Subject: Match window substrings case-sensitively Case-insensitivity was copied from regular complete(), but other commands which take substrings (/open and /copy) match case-sensitively. --- complete.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/complete.c b/complete.c index ead2457..9e59db5 100644 --- a/complete.c +++ b/complete.c @@ -122,7 +122,7 @@ const char *complete(uint id, const char *prefix) { const char *completeSubstr(uint id, const char *substr) { for (match = (match ? match->next : head); match; match = match->next) { if (match->id && match->id != id) continue; - if (!strcasestr(match->str, substr)) continue; + if (!strstr(match->str, substr)) continue; return match->str; } return NULL; -- cgit 1.4.1 right'>
summary refs log tree commit diff
path: root/.gitignore (unfollow)
Commit message (Expand)Author
2020-08-27Remove rc scriptsJune McEnroe
2020-08-27contrib/palaver: Fix documented database pathJune McEnroe
2020-08-27contrib/palaver: Remove rc scriptJune McEnroe
2020-08-27contrib/palaver: Fix database search and creationJune McEnroe
2020-08-27contrib/palaver: Use pounce's XDG directoryJune McEnroe
2020-08-27contrib/palaver: Only allow HTTPSJune McEnroe
2020-08-25Support the pounce_env rc variableJune McEnroe
2020-08-25Remove deprecated option namesJune McEnroe
2020-08-25Document configuration and data file searchJune McEnroe
2020-08-24Use dataOpen for save fileJune McEnroe
2020-08-24Use configOpen to load localCAJune McEnroe
2020-08-24Use configPath to load client cert/privJune McEnroe
2020-08-24Use configOpen in getopt_configJune McEnroe
2020-08-24Import xdg.c from catgirlJune McEnroe
2020-08-23Replace “RAND_bytes” by “getentropy”Issam E. Maghni
2020-08-16contrib/palaver: Add no message preview flagsJune McEnroe
2020-08-13contrib/palaver: Don't set channel for PMsJune McEnroe
2020-08-13Fix unintended interception of NICK after registrationJune McEnroe
2020-08-12Add Additional Components section to READMEJune McEnroe
2020-08-12Document -L / palaver optionJune McEnroe
2020-08-11contrib/palaver: Document service configurationJune McEnroe
2020-08-11contrib/palaver: Add install target and rc scriptJune McEnroe
2020-08-11contrib/palaver: Implement command and notificationsJune McEnroe