Update rcore.c
This commit is contained in:
parent
e190b7eee9
commit
df90da0b37
@ -3219,7 +3219,7 @@ const char *GetApplicationDirectory(void)
|
||||
|
||||
#if defined(_WIN32)
|
||||
int len = 0;
|
||||
#if defined (UNICODE)
|
||||
#if defined(UNICODE)
|
||||
unsigned short widePath[MAX_PATH];
|
||||
len = GetModuleFileNameW(NULL, widePath, MAX_PATH);
|
||||
len = WideCharToMultiByte(0, 0, widePath, len, appDir, MAX_PATH, NULL, NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user