Browse Source

Update rcore.c

pull/3150/head
Ray 1 year ago
parent
commit
df90da0b37
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rcore.c

+ 1
- 1
src/rcore.c View File

@ -3219,7 +3219,7 @@ const char *GetApplicationDirectory(void)
#if defined(_WIN32) #if defined(_WIN32)
int len = 0; int len = 0;
#if defined (UNICODE) #if defined(UNICODE)
unsigned short widePath[MAX_PATH]; unsigned short widePath[MAX_PATH];
len = GetModuleFileNameW(NULL, widePath, MAX_PATH); len = GetModuleFileNameW(NULL, widePath, MAX_PATH);
len = WideCharToMultiByte(0, 0, widePath, len, appDir, MAX_PATH, NULL, NULL); len = WideCharToMultiByte(0, 0, widePath, len, appDir, MAX_PATH, NULL, NULL);

||||||
x
 
000:0
Loading…
Cancel
Save