From bff3adf445e41152bb11d00187044c19496cfdba Mon Sep 17 00:00:00 2001 From: divverent Date: Wed, 4 Mar 2015 17:30:03 +0000 Subject: [PATCH] Fix a return-from-stack error. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12183 d7cf8633-e32d-0410-b094-e92efae38249 --- fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.2