Browse Source

Avoid GETCWD() warning #1371

pull/1381/head
raysan5 4 years ago
parent
commit
11fbd49b73
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/core.c

+ 2
- 2
src/core.c View File

@ -2059,9 +2059,9 @@ const char *GetWorkingDirectory(void)
static char currentDir[MAX_FILEPATH_LENGTH];
memset(currentDir, 0, MAX_FILEPATH_LENGTH);
GETCWD(currentDir, MAX_FILEPATH_LENGTH - 1);
kt">char *ptr = GETCWD(currentDir, MAX_FILEPATH_LENGTH - 1);
return currentDir;
return ptr;
}
// Get filenames in a directory path (max 512 files)

Loading…
Cancel
Save