diff options
Diffstat (limited to 'cocoa')
-rw-r--r-- | cocoa/plotter.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/plotter.m b/cocoa/plotter.m index c42f0d9a6..fe869751b 100644 --- a/cocoa/plotter.m +++ b/cocoa/plotter.m @@ -143,7 +143,7 @@ void cocoa_plot_render_path(NSBezierPath *path,const plot_style_t *pstyle) } if (pstyle->stroke_type != PLOT_OP_TYPE_NONE) { - if (pstyle->stroke_width % 2 != 0) cocoa_center_pixel( true, true ); + if (pstyle->stroke_width == 0 || pstyle->stroke_width % 2 != 0) cocoa_center_pixel( true, true ); cocoa_plot_path_set_stroke_pattern(path,pstyle); |