cmdlib.c: getwd change to getcwd.

This commit is contained in:
Marco Cawthorne 2023-05-07 11:56:55 -07:00
parent 6c7569abc1
commit 964f9556be
Signed by: eukara
GPG key ID: CE2032F0A2882A22
2 changed files with 3 additions and 1 deletions

0
rip_sources.sh Normal file → Executable file
View file

View file

@ -6,6 +6,8 @@
#ifdef WIN32
#include <direct.h>
#else
#include <unistd.h>
#endif
#ifdef NeXT
@ -169,7 +171,7 @@ void Q_getwd (char *out)
_getcwd (out, 256);
strcat (out, "\\");
#else
getwd (out);
getcwd (out, 256);
#endif
}