Fix warning: format not a string literal and no format arguments.
This commit is contained in:
parent
91bcbfc593
commit
2cba675936
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user