aboutsummaryrefslogtreecommitdiff
path: root/notify.c
diff options
context:
space:
mode:
authorCraig Barnes <craigbarnes@protonmail.com>2024-08-03 09:42:37 +0000
committerCraig Barnes <craigbarnes@protonmail.com>2024-08-03 09:42:37 +0000
commitb27841e1b590f91c9de21bb694909211421e5f96 (patch)
tree6f0f5a1fec321ae8c96e1bc019cc625d50b35012 /notify.c
parentosc: kitty notifications: ignore invalid IDs (diff)
parentxmalloc: remove delim param from xstrjoin() and add separate xstrjoin3() (diff)
Merge branch 'xstrjoin3'
Diffstat (limited to 'notify.c')
-rw-r--r--notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notify.c b/notify.c
index 9d2d3c71..15139c40 100644
--- a/notify.c
+++ b/notify.c
@@ -77,7 +77,7 @@ write_icon_file(const void *data, size_t data_sz, int *fd, char **filename,
LOG_DBG("wrote icon data to %s", name);
*filename = xstrdup(name);
- *symbolic_name = xasprintf("file://%s", *filename);
+ *symbolic_name = xstrjoin("file://", *filename);
return true;
}