safer sprintf

git-svn-id: https://svn.eduke32.com/eduke32@1911 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2011-06-19 18:42:48 +00:00
parent 51fb860650
commit 924dccca21

View file

@ -9051,7 +9051,7 @@ static void G_CompileScripts(void)
pathsearchmode = 1;
if (g_skipDefaultCons == 0)
{
Bsprintf(g_scriptNamePtr,defaultconfile());
Bsprintf(g_scriptNamePtr,"%s",defaultconfile());
}
C_Compile(g_scriptNamePtr);
@ -9059,7 +9059,7 @@ static void G_CompileScripts(void)
{
if (g_skipDefaultCons == 0)
{
Bsprintf(g_scriptNamePtr,defaultconfile());
Bsprintf(g_scriptNamePtr,"%s",defaultconfile());
}
C_Compile(g_scriptNamePtr);
}