Make snoop specific case insensitive.

This commit is contained in:
Lawson Whitney 2001-02-12 01:19:04 +00:00 committed by Alexandre Julliard
parent b58ebef63e
commit bae8af2e2e
1 changed files with 3 additions and 3 deletions

View File

@ -113,9 +113,9 @@ int SNOOP_ShowDebugmsgSnoop(const char *dll, int ord, const char *fname) {
len2 = strlen(buf);
for(; *listitem; listitem++) {
itemlen = strlen(*listitem);
if((itemlen == len && !strncmp(*listitem, buf, len)) ||
(itemlen == len2 && !strncmp(*listitem, buf, len2)) ||
!strcmp(*listitem, fname)) {
if((itemlen == len && !strncasecmp(*listitem, buf, len)) ||
(itemlen == len2 && !strncasecmp(*listitem, buf, len2)) ||
!strcasecmp(*listitem, fname)) {
show = !show;
break;
}