From f48522a322c37b7ae13e120580f9fdddff5d46a8 Mon Sep 17 00:00:00 2001 From: Sascha Kruse Date: Fri, 5 Oct 2012 23:52:59 +0200 Subject: [PATCH] fix segfault when geom x1 --- dunst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dunst.c b/dunst.c index 03a009c..9ab299a 100644 --- a/dunst.c +++ b/dunst.c @@ -620,7 +620,7 @@ void draw_win(void) } else { /* append "(x more)" message to notification text */ notification *n = - (notification *) displayed_notifications->head; + (notification *) displayed_notifications->head->data; print_to = draw_txt_get_line(&n->draw_txt_buf, n->draw_txt_buf.line_count);