config: add new function config_clone()

This commit is contained in:
Daniel Eklöf 2021-06-18 16:18:41 +02:00
parent 42ec264075
commit f7860aec76
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
6 changed files with 217 additions and 109 deletions

View file

@ -27,7 +27,7 @@ notify_notify(const struct terminal *term, const char *title, const char *body)
if (title == NULL || body == NULL)
return;
if (term->conf->notify.argv == NULL)
if (term->conf->notify.argv.args == NULL)
return;
char **argv = NULL;