fix segfault when geom x1

This commit is contained in:
Sascha Kruse 2012-10-05 23:52:59 +02:00
parent 8f9866ced5
commit f48522a322

View File

@ -620,7 +620,7 @@ void draw_win(void)
} else { } else {
/* append "(x more)" message to notification text */ /* append "(x more)" message to notification text */
notification *n = notification *n =
(notification *) displayed_notifications->head; (notification *) displayed_notifications->head->data;
print_to = print_to =
draw_txt_get_line(&n->draw_txt_buf, draw_txt_get_line(&n->draw_txt_buf,
n->draw_txt_buf.line_count); n->draw_txt_buf.line_count);