Set line width 1 for the cairo context used to draw all lines (bug

8017).  Do it outside of the loop.

svn path=/trunk/; revision=46176
This commit is contained in:
Martin Mathieson 2012-11-25 14:15:02 +00:00
parent 0d1f86c33e
commit 4fb9cfe714
1 changed files with 3 additions and 0 deletions

View File

@ -2278,6 +2278,9 @@ static void graph_pixmap_draw (struct graph *g)
cairo_rectangle (cr, 0, 0, g->wp.width, g->wp.height);
cairo_fill (cr);
/* Want line width 1 for all elements */
cairo_set_line_width (cr, 1.0);
for (list=g->elists; list; list=list->next)
for (e=list->elements; e->type != ELMT_NONE; e++) {
switch (e->type) {