commit f48522a322c37b7ae13e120580f9fdddff5d46a8 Author: Sascha Kruse Date: Fri Oct 5 23:52:59 2012 +0200 fix segfault when geom x1 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);