In game.c's kopen4loadfrommod, use snprintf.

git-svn-id: https://svn.eduke32.com/eduke32@2836 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2012-07-20 21:57:24 +00:00
parent a17cdd9d95
commit a464527f8f

View file

@ -195,7 +195,7 @@ int32_t kopen4loadfrommod(const char *filename, char searchfirst)
{
static char fn[BMAX_PATH];
Bsprintf(fn,"%s/%s",g_modDir,filename);
Bsnprintf(fn, sizeof(fn), "%s/%s",g_modDir,filename);
r = kopen4load(fn,searchfirst);
}