mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-19 19:25:41 +02:00
particle/list: tags_expand_template() now returns NULL if template is NULL
This commit is contained in:
parent
32b4e9986d
commit
6857b99c56
1 changed files with 1 additions and 3 deletions
|
@ -118,9 +118,7 @@ instantiate(const struct particle *particle, const struct tag_set *tags)
|
|||
e->exposables[i] = pp->instantiate(pp, tags);
|
||||
}
|
||||
|
||||
char *on_click = particle->on_click_template != NULL
|
||||
? tags_expand_template(particle->on_click_template, tags)
|
||||
: NULL;
|
||||
char *on_click = tags_expand_template(particle->on_click_template, tags);
|
||||
|
||||
struct exposable *exposable = exposable_common_new(particle, on_click);
|
||||
exposable->private = e;
|
||||
|
|
Loading…
Add table
Reference in a new issue