mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-18 14:21:36 +00:00
ftepp_preprocess_string uses strlen - push nul-byte to verminor and vermajor
This commit is contained in:
parent
d43a6c50d4
commit
ea08d16c06
1 changed files with 2 additions and 0 deletions
2
ftepp.c
2
ftepp.c
|
@ -1404,6 +1404,8 @@ bool ftepp_init()
|
|||
vec_upload(vermajor, major, strlen(major));
|
||||
vec_push (verminor, '"');
|
||||
vec_push (vermajor, '"');
|
||||
vec_push (verminor, 0);
|
||||
vec_push (vermajor, 0);
|
||||
|
||||
ftepp_preprocess_string("__builtin__", verminor);
|
||||
ftepp_preprocess_string("__builtin__", vermajor);
|
||||
|
|
Loading…
Reference in a new issue