From e37bbad2d7eb3546022b8e5810a7e2770c3fc625 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 20 Feb 2017 03:48:26 -0500 Subject: [PATCH] Expand "\\n" to "\n" in the format string only; not message text. This is consistent with other implementations; neither notification-daemon or xfce4-notifyd expand "\n" in message text. --- src/notification.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/notification.c b/src/notification.c index a08bd1d..141fdfe 100644 --- a/src/notification.c +++ b/src/notification.c @@ -267,7 +267,6 @@ char *notification_replace_format(const char *needle, const char *replacement, } - tmp = string_replace_all("\\n", "\n", tmp); if (settings.ignore_newline) { tmp = string_replace_all("\n", " ", tmp); }