]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Fix a return-from-stack error.
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 4 Mar 2015 17:30:03 +0000 (17:30 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 4 Mar 2015 17:30:03 +0000 (17:30 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12183 d7cf8633-e32d-0410-b094-e92efae38249

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