mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-28 09:13:08 +03:00
Fix full Cairo build
svn path=/trunk/netsurf/; revision=10878
This commit is contained in:
parent
ed8f37dbef
commit
d16e3161ad
@ -344,9 +344,9 @@ bool ami_line(int x0, int y0, int x1, int y1, const plot_style_t *style)
|
||||
|
||||
/* core expects horizontal and vertical lines to be on pixels, not
|
||||
* between pixels */
|
||||
cairo_move_to(current_cr, (x0 == x1) ? x0 + 0.5 : x0,
|
||||
cairo_move_to(glob->cr, (x0 == x1) ? x0 + 0.5 : x0,
|
||||
(y0 == y1) ? y0 + 0.5 : y0);
|
||||
cairo_line_to(current_cr, (x0 == x1) ? x1 + 0.5 : x1,
|
||||
cairo_line_to(glob->cr, (x0 == x1) ? x1 + 0.5 : x1,
|
||||
(y0 == y1) ? y1 + 0.5 : y1);
|
||||
cairo_stroke(glob->cr);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user