diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-10-30 11:46:08 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-10-30 11:46:08 +0100 |
| commit | 31ec6f623ab76d3f1107af9782237b8d7a089026 (patch) | |
| tree | 49cd5d793da39b6881e7b1e9c333e2f8c35dfaf9 | |
| parent | 7403e333daef0ecf13851ed803238c7880903980 (diff) | |
Wayland platform: fix problem with fl_pie() (#512 - cont'd)
| -rw-r--r-- | src/drivers/Cairo/Fl_Cairo_Graphics_Driver.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/Cairo/Fl_Cairo_Graphics_Driver.cxx b/src/drivers/Cairo/Fl_Cairo_Graphics_Driver.cxx index 18bd37813..6aed1d51a 100644 --- a/src/drivers/Cairo/Fl_Cairo_Graphics_Driver.cxx +++ b/src/drivers/Cairo/Fl_Cairo_Graphics_Driver.cxx @@ -467,7 +467,7 @@ void Fl_Cairo_Graphics_Driver::circle(double x, double y, double r){ void Fl_Cairo_Graphics_Driver::arc(double x, double y, double r, double start, double a){ if (what == NONE) return; - if (what == POLYGON && gap_ == 1) cairo_new_sub_path(cairo_); + if (gap_ == 1) cairo_new_sub_path(cairo_); gap_ = 0; if (start > a) cairo_arc(cairo_, x, y, r, -start*M_PI/180, -a*M_PI/180); |
