mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-24 04:41:25 +00:00
BOOM
This commit is contained in:
parent
b5ead871ef
commit
c8959a2452
1 changed files with 0 additions and 1 deletions
1
ftepp.c
1
ftepp.c
|
@ -124,7 +124,6 @@ char *ftepp_predef_line(lex_file *context) {
|
||||||
char *ftepp_predef_file(lex_file *context) {
|
char *ftepp_predef_file(lex_file *context) {
|
||||||
size_t length = strlen(context->name) + 3; /* two quotes and a terminator */
|
size_t length = strlen(context->name) + 3; /* two quotes and a terminator */
|
||||||
char *value = (char*)mem_a(length);
|
char *value = (char*)mem_a(length);
|
||||||
memset (value, 0, length);
|
|
||||||
sprintf(value, "\"%s\"", context->name);
|
sprintf(value, "\"%s\"", context->name);
|
||||||
|
|
||||||
return value;
|
return value;
|
||||||
|
|
Loading…
Reference in a new issue