Ver código fonte

Avoid GETCWD() warning #1371

pull/1381/head
raysan5 4 anos atrás
pai
commit
11fbd49b73
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      src/core.c

+ 2
- 2
src/core.c Ver arquivo

@ -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)

Carregando…
Cancelar
Salvar