aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--osc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/osc.c b/osc.c
index a9a83df9..7485cada 100644
--- a/osc.c
+++ b/osc.c
@@ -790,8 +790,8 @@ kitty_notification(struct terminal *term, char *string)
if (done) {
notify_notify(
term,
- notif->title != NULL ? notif->title : "",
- notif->body != NULL ? notif->body : "",
+ notif->title != NULL ? notif->title : notif->body,
+ notif->title != NULL && notif->body != NULL ? notif->body : "",
notif->when, notif->urgency);
tll_foreach(term->kitty_notifications, it) {