diff options
Diffstat (limited to 'compat')
-rw-r--r-- | compat/mingw.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compat/mingw.c b/compat/mingw.c index f6c7ad7fd8..654bea4828 100644 --- a/compat/mingw.c +++ b/compat/mingw.c @@ -1199,8 +1199,7 @@ static int lookup_env(char **env, const char *name, size_t nmln) int i; for (i = 0; env[i]; i++) { - if (0 == strncmp(env[i], name, nmln) - && '=' == env[i][nmln]) + if (!strncasecmp(env[i], name, nmln) && '=' == env[i][nmln]) /* matches */ return i; } |