Fix the signal handler popup text.

Thanks to Michael for the heads-up.
This commit is contained in:
Fernando Tarlá Cardoso Lemos 2011-12-18 12:53:26 -02:00 committed by Michael Stapelberg
parent 2ba09f5419
commit fbf6d20e05

View File

@ -51,7 +51,7 @@ static int sig_draw_window(xcb_window_t win, int width, int height, int font_hei
for (int i = 0; i < sizeof(crash_text) / sizeof(char*); i++) { for (int i = 0; i < sizeof(crash_text) / sizeof(char*); i++) {
draw_text(crash_text[i], strlen(crash_text[i]), false, pixmap, pixmap_gc, draw_text(crash_text[i], strlen(crash_text[i]), false, pixmap, pixmap_gc,
8, 3 + (i - 1) * font_height, width - 16); 8, 5 + i * font_height, width - 16);
} }
/* Copy the contents of the pixmap to the real window */ /* Copy the contents of the pixmap to the real window */