Sfoglia il codice sorgente

Avoid GETCWD() warning #1371

pull/1381/head
raysan5 4 anni fa
parent
commit
11fbd49b73
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      src/core.c

+ 2
- 2
src/core.c Vedi 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)

Caricamento…
Annulla
Salva