fixed getModulePath_ local buffer size incorrectly set to 1 for debugging purposes
This commit is contained in:
parent
574cea6708
commit
77ab6870d6
@ -58,7 +58,7 @@ extern "C" {
|
|||||||
|
|
||||||
static int WAI_PREFIX(getModulePath_)(HMODULE module, char* out, int capacity, int* dirname_length)
|
static int WAI_PREFIX(getModulePath_)(HMODULE module, char* out, int capacity, int* dirname_length)
|
||||||
{
|
{
|
||||||
wchar_t buffer1[1];
|
wchar_t buffer1[MAX_PATH];
|
||||||
wchar_t buffer2[MAX_PATH];
|
wchar_t buffer2[MAX_PATH];
|
||||||
wchar_t* path = NULL;
|
wchar_t* path = NULL;
|
||||||
int length = -1;
|
int length = -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user