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.
This commit is contained in:
Nikos Tsipinakis 2018-07-05 12:55:24 +03:00
parent 74bbc96db2
commit ae370e7289

View File

@ -110,7 +110,7 @@ void parse_commandline(int argc, char *argv[])
} }
if (argc > 2) { if (argc > 2) {
body = g_strdup(argv[2]); body = g_strcompress(argv[2]);
} }
if (urgency_str) { if (urgency_str) {