mirror of
https://github.com/vxcontrol/MemoryModule.git
synced 2026-07-25 00:25:23 -04:00
Merge pull request #81 from Scavanger/case-sensitive-function-names
Search for function names should be case sensitive (fixes #80).
This commit is contained in:
+2
-2
@@ -766,14 +766,14 @@ static int _compare(const void *a, const void *b)
|
||||
{
|
||||
const struct ExportNameEntry *p1 = (const struct ExportNameEntry*) a;
|
||||
const struct ExportNameEntry *p2 = (const struct ExportNameEntry*) b;
|
||||
return _stricmp(p1->name, p2->name);
|
||||
return strcmp(p1->name, p2->name);
|
||||
}
|
||||
|
||||
static int _find(const void *a, const void *b)
|
||||
{
|
||||
LPCSTR *name = (LPCSTR *) a;
|
||||
const struct ExportNameEntry *p = (const struct ExportNameEntry*) b;
|
||||
return _stricmp(*name, p->name);
|
||||
return strcmp(*name, p->name);
|
||||
}
|
||||
|
||||
FARPROC MemoryGetProcAddress(HMEMORYMODULE mod, LPCSTR name)
|
||||
|
||||
Reference in New Issue
Block a user