ftepp_preprocess_string uses strlen - push nul-byte to verminor and vermajor

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-12-03 20:23:40 +01:00
parent d43a6c50d4
commit ea08d16c06

View file

@ -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);