]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - fs.c
Fix a return-from-stack error.
[xonotic/darkplaces.git] / fs.c
diff --git a/fs.c b/fs.c
index 817780f79dec258af9ada9984557472d41748502..e682f6fa482942776d040aa0198388905dec0cc5 100644 (file)
--- a/fs.c
+++ b/fs.c
@@ -1642,7 +1642,7 @@ FS_CheckGameDir
 const char *FS_CheckGameDir(const char *gamedir)
 {
        const char *ret;
-       char buf[8192];
+       static char buf[8192];
        char vabuf[1024];
 
        if (FS_CheckNastyPath(gamedir, true))