]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ftepp.c
Added memory protection to prevent mismatching of mem_d or vec_free on pointers which...
[xonotic/gmqcc.git] / ftepp.c
diff --git a/ftepp.c b/ftepp.c
index c574f03bb99d518191a243a8155e60f41a9e7c76..c1052def52e627a6d073ab83ed0911073b2ee9fd 100644 (file)
--- a/ftepp.c
+++ b/ftepp.c
@@ -852,7 +852,7 @@ static bool ftepp_macro_expand(ftepp_t *ftepp, ppmacro *macro, macroparam *param
                 if (vec_size(macro->output) > o + 1 && macro->output[o+1]->token == '#')
                     buffer++;
                 if (strip) {
-                    while (util_isspace(*buffer)) buffer++;
+                    while (*buffer == ' ' || *buffer == '\t') buffer++;
                     strip = false;
                 }
                 ftepp_out(ftepp, buffer, false);