mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-27 06:34:11 +00:00
fix a segfault causing typo :P
This commit is contained in:
parent
e483333bbe
commit
a72d3f6844
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@ QFile_Progs_Init (progs_t *pr, int secure)
|
||||||
{
|
{
|
||||||
qfile_resources_t *res = calloc (sizeof (qfile_resources_t), 1);
|
qfile_resources_t *res = calloc (sizeof (qfile_resources_t), 1);
|
||||||
|
|
||||||
PR_Resources_Register (pr, "Qfile", res, bi_qfile_clear);
|
PR_Resources_Register (pr, "QFile", res, bi_qfile_clear);
|
||||||
if (secure) {
|
if (secure) {
|
||||||
PR_AddBuiltin (pr, "Qrename", secured, -1);
|
PR_AddBuiltin (pr, "Qrename", secured, -1);
|
||||||
PR_AddBuiltin (pr, "Qremove", secured, -1);
|
PR_AddBuiltin (pr, "Qremove", secured, -1);
|
||||||
|
|
Loading…
Reference in a new issue