Skip to content

Commit 060f0bd

Browse files
authored
Search for function names should be case sensitive
1 parent 403a31e commit 060f0bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MemoryModule.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -766,14 +766,14 @@ static int _compare(const void *a, const void *b)
766766
{
767767
const struct ExportNameEntry *p1 = (const struct ExportNameEntry*) a;
768768
const struct ExportNameEntry *p2 = (const struct ExportNameEntry*) b;
769-
return _stricmp(p1->name, p2->name);
769+
return strcmp(p1->name, p2->name);
770770
}
771771

772772
static int _find(const void *a, const void *b)
773773
{
774774
LPCSTR *name = (LPCSTR *) a;
775775
const struct ExportNameEntry *p = (const struct ExportNameEntry*) b;
776-
return _stricmp(*name, p->name);
776+
return strcmp(*name, p->name);
777777
}
778778

779779
FARPROC MemoryGetProcAddress(HMEMORYMODULE mod, LPCSTR name)

0 commit comments

Comments
 (0)