From ae370e7289a9d4c84d6030345cbf49657602800e Mon Sep 17 00:00:00 2001 From: Nikos Tsipinakis Date: Thu, 5 Jul 2018 12:55:24 +0300 Subject: [PATCH] dunstify: Fix escape chars not being parsed in the body notify-send uses g_strcompress on the body of the notification to replace escape chars (e.g. newline). Since dunstify is supposed to be a drop-in replacement we should match that here as well. --- dunstify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dunstify.c b/dunstify.c index af03430..c81af77 100644 --- a/dunstify.c +++ b/dunstify.c @@ -110,7 +110,7 @@ void parse_commandline(int argc, char *argv[]) } if (argc > 2) { - body = g_strdup(argv[2]); + body = g_strcompress(argv[2]); } if (urgency_str) {