From 8c0b27f323b231941db1f3d4137e906d99be1672 Mon Sep 17 00:00:00 2001 From: Sascha Kruse Date: Mon, 20 Aug 2012 01:34:53 +0200 Subject: [PATCH] don't ignore the word_wrap option --- dunst.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dunst.c b/dunst.c index ed3294a..99077a6 100644 --- a/dunst.c +++ b/dunst.c @@ -365,6 +365,9 @@ void update_lists() /* TODO get draw_txt_buf as argument */ int do_word_wrap(char *source, int max_width) { + if (!word_wrap) + return 1; + strtrim_end(source); if (!source || source == '\0' || strcmp(source, "") == 0) return 0;