mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-22 12:25:38 +02:00
particle/list: assert sub particles where instantiated correctly
This commit is contained in:
parent
44db9304c5
commit
df2d8fec36
1 changed files with 1 additions and 0 deletions
|
@ -118,6 +118,7 @@ instantiate(const struct particle *particle, const struct tag_set *tags)
|
|||
for (size_t i = 0; i < p->count; i++) {
|
||||
const struct particle *pp = p->particles[i];
|
||||
e->exposables[i] = pp->instantiate(pp, tags);
|
||||
assert(e->exposables[i] != NULL);
|
||||
}
|
||||
|
||||
char *on_click = tags_expand_template(particle->on_click_template, tags);
|
||||
|
|
Loading…
Add table
Reference in a new issue