summaryrefslogtreecommitdiff
path: root/frontends/cocoa/plotter.m
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/cocoa/plotter.m')
-rw-r--r--frontends/cocoa/plotter.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/cocoa/plotter.m b/frontends/cocoa/plotter.m
index f02f7727b..1e01a47b0 100644
--- a/frontends/cocoa/plotter.m
+++ b/frontends/cocoa/plotter.m
@@ -74,7 +74,7 @@ static void cocoa_plot_path_set_stroke_pattern(NSBezierPath *path, const plot_st
static nserror plot_line(const struct redraw_context *ctx, const plot_style_t *pstyle, const struct rect *line)
{
if (pstyle->stroke_type == PLOT_OP_TYPE_NONE)
- return true;
+ return NSERROR_OK;
[NSGraphicsContext saveGraphicsState];
[NSBezierPath clipRect:cocoa_plot_clip_rect];