mscoree: Don't use strncasecmp.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Piotr Caban 2019-04-02 16:51:53 +02:00 committed by Alexandre Julliard
parent 5ab0d1443c
commit cef4d3465b
1 changed files with 2 additions and 1 deletions

View File

@ -29,6 +29,7 @@
#include "windef.h"
#include "winbase.h"
#include "winreg.h"
#include "winternl.h"
#include "ole2.h"
#include "corerror.h"
@ -1242,7 +1243,7 @@ static void parse_override_entry(override_entry *entry, const char *string, int
value = equals + 1;
switch (key_len) {
case 3:
if (!strncasecmp(string, "gac", 3)) {
if (!_strnicmp(string, "gac", 3)) {
if (IS_OPTION_TRUE(*value))
entry->flags |= ASSEMBLY_SEARCH_GAC;
else if (IS_OPTION_FALSE(*value))