return status;
}
- bool content_only = data->mode == iki_read_mode_content;
+ const bool content_only = data->mode == iki_read_mode_content;
iki_read_substitutions substitutionss[variable->used];
return F_none;
}
+ const bool content_only = data->mode == iki_read_mode_content;
+
iki_read_substitutions substitutionss[variable->used];
memset(substitutionss, 0, sizeof(iki_read_substitutions) * variable->used);
}
else {
if (substitutionss[j].used) {
- iki_read_substitutions_print(*data, *variable, *content, *ranges, substitutionss[j], j, F_true);
+ iki_read_substitutions_print(*data, *variable, *content, *ranges, substitutionss[j], j, content_only);
}
else {
f_print_string_dynamic_partial(f_type_output, data->buffer, ranges->array[j]);
}
else {
if (substitutionss[j].used) {
- iki_read_substitutions_print(*data, *variable, *content, *ranges, substitutionss[j], j, F_true);
+ iki_read_substitutions_print(*data, *variable, *content, *ranges, substitutionss[j], j, content_only);
}
else {
f_print_string_dynamic_partial(f_type_output, data->buffer, ranges->array[j]);