mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-17 09:02:25 +00:00
include: guard the actual inclusion with ftepp->output_on so that include inside #if 0 doesn't happen
This commit is contained in:
parent
3e3b8993aa
commit
1dfd375738
1 changed files with 5 additions and 0 deletions
5
ftepp.c
5
ftepp.c
|
@ -1379,6 +1379,11 @@ static bool ftepp_include(ftepp_t *ftepp)
|
|||
return false;
|
||||
}
|
||||
|
||||
if (!ftepp->output_on) {
|
||||
ftepp_next(ftepp);
|
||||
return true;
|
||||
}
|
||||
|
||||
ctx = ftepp_ctx(ftepp);
|
||||
|
||||
unescape(ftepp_tokval(ftepp), ftepp_tokval(ftepp));
|
||||
|
|
Loading…
Reference in a new issue