mirror of https://github.com/Kylart/KawAnime.git
Fix delay
This commit is contained in:
parent
8ce6a6030d
commit
79df12ddcd
|
@ -37,8 +37,7 @@ static FARPROC WINAPI load_exe_hook(unsigned int event, DelayLoadInfo* info) {
|
||||||
HMODULE processModule = GetModuleHandle(NULL);
|
HMODULE processModule = GetModuleHandle(NULL);
|
||||||
|
|
||||||
// Get the path to the executable.
|
// Get the path to the executable.
|
||||||
unsigned int kMaxPath = _MAX_PATH;
|
TCHAR processPath[_MAX_PATH]; // NOLINT
|
||||||
TCHAR processPath[kMaxPath];
|
|
||||||
GetModuleFileName(processModule, processPath, _MAX_PATH);
|
GetModuleFileName(processModule, processPath, _MAX_PATH);
|
||||||
|
|
||||||
// Get the name of the current executable.
|
// Get the name of the current executable.
|
||||||
|
|
Loading…
Reference in New Issue