Fix warning: format not a string literal and no format arguments.

This commit is contained in:
Ben Noordhuis 2010-11-08 01:08:24 +01:00 committed by Garux
parent 91bcbfc593
commit 2cba675936

View File

@ -33,6 +33,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "l_log.h"
#include "../mbspc/l_mem.h"
#include "l_cmd.h"
#define qtrue true
#define qfalse false
@ -1361,5 +1362,5 @@ void FreeScript(script_t *script)
//============================================================================
void PS_SetBaseFolder(char *path)
{
sprintf(basefolder, path);
Q_strncpyz(basefolder, path, sizeof(basefolder));
} //end of the function PS_SetBaseFolder