mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-13 11:30:44 +00:00
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:
parent
a17cdd9d95
commit
a464527f8f
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ int32_t kopen4loadfrommod(const char *filename, char searchfirst)
|
||||||
{
|
{
|
||||||
static char fn[BMAX_PATH];
|
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);
|
r = kopen4load(fn,searchfirst);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue