summaryrefslogtreecommitdiffstats
path: root/fish/destpaths.c
diff options
context:
space:
mode:
Diffstat (limited to 'fish/destpaths.c')
-rw-r--r--fish/destpaths.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fish/destpaths.c b/fish/destpaths.c
index 87287aae..c12c64ae 100644
--- a/fish/destpaths.c
+++ b/fish/destpaths.c
@@ -215,7 +215,7 @@ complete_dest_paths_generator (const char *text, int state)
word = &words[index];
index++;
- if (strncasecmp (word->name, text, len) == 0) {
+ if (STRCASEEQLEN (word->name, text, len)) {
if (word->is_dir)
rl_completion_append_character = '/';