mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-03-25 03:51:26 +00:00
Finally fix the bug in -D
This commit is contained in:
parent
f7bc1dca08
commit
c1a4c8102e
1 changed files with 8 additions and 6 deletions
14
main.c
14
main.c
|
@ -637,13 +637,15 @@ int main(int argc, char **argv) {
|
|||
util_debug("COM", "starting ...\n");
|
||||
|
||||
/* add macros */
|
||||
for (itr = 0; itr < vec_size(ppems); itr++) {
|
||||
ftepp_add_macro(ppems[itr].name, ppems[itr].value);
|
||||
mem_d(ppems[itr].name);
|
||||
if (opts.pp_only || OPTS_FLAG(FTEPP)) {
|
||||
for (itr = 0; itr < vec_size(ppems); itr++) {
|
||||
ftepp_add_macro(ppems[itr].name, ppems[itr].value);
|
||||
mem_d(ppems[itr].name);
|
||||
|
||||
/* can be null */
|
||||
if (ppems[itr].value)
|
||||
mem_d(ppems[itr].value);
|
||||
/* can be null */
|
||||
if (ppems[itr].value)
|
||||
mem_d(ppems[itr].value);
|
||||
}
|
||||
}
|
||||
|
||||
if (!vec_size(items)) {
|
||||
|
|
Loading…
Reference in a new issue