cmdlib.c: getwd change to getcwd.

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

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
}