X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=fish%2Fdestpaths.c;h=c12c64aef017e0bd2dfda5397dfdab2572fed191;hp=87287aaeede595a2e3fdb0979fc1b8ba90ef4982;hb=c9d94984588d166bcdc077a7972a1b454678ba10;hpb=539bf7e8983c53c4cf79ffa64302bef1585bec31 diff --git a/fish/destpaths.c b/fish/destpaths.c index 87287aa..c12c64a 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 = '/';