diff options
Diffstat (limited to 'fish/fish.c')
-rw-r--r-- | fish/fish.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fish/fish.c b/fish/fish.c index cd102966..0387eb75 100644 --- a/fish/fish.c +++ b/fish/fish.c @@ -1340,7 +1340,7 @@ resolve_win_path (const char *path) char *ret; size_t i; - if (strncasecmp (path, "win:", 4) != 0) { + if (STRCASENEQLEN (path, "win:", 4)) { ret = strdup (path); if (ret == NULL) perror ("strdup"); |