From: divverent Date: Wed, 4 Mar 2015 17:30:03 +0000 (+0000) Subject: Fix a return-from-stack error. X-Git-Tag: xonotic-v0.8.1~8^2~20 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bff3adf445e41152bb11d00187044c19496cfdba;p=xonotic%2Fdarkplaces.git Fix a return-from-stack error. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12183 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/fs.c b/fs.c index 817780f7..e682f6fa 100644 --- 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))