forked from osmocom/wireshark
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:
parent
0d1f86c33e
commit
4fb9cfe714
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue