aboutsummaryrefslogtreecommitdiff
path: root/dw/fltkviewbase.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2012-10-07 23:35:56 +0200
committerSebastian Geerken <devnull@localhost>2012-10-07 23:35:56 +0200
commit2cd28ca74309f81d295a0860a140e030ee7f80d3 (patch)
tree3d7463a12a2c17123ce15070eb44a8a8df9e2e3e /dw/fltkviewbase.cc
parent177612b46579076ca5a7ddaffb96083d40d0dc06 (diff)
parentd1179582ee86f08fbc23d2363df7a794324095e8 (diff)
Merge with main repo.
Diffstat (limited to 'dw/fltkviewbase.cc')
-rw-r--r--dw/fltkviewbase.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/dw/fltkviewbase.cc b/dw/fltkviewbase.cc
index 240937e2..d9782a4e 100644
--- a/dw/fltkviewbase.cc
+++ b/dw/fltkviewbase.cc
@@ -472,8 +472,11 @@ void FltkViewBase::drawArc (core::style::Color *color,
int y = translateCanvasYToViewY (centerY) - height / 2;
fl_arc(x, y, width, height, angle1, angle2);
- if (filled)
+ if (filled) {
+ // WORKAROUND: We call both fl_arc and fl_pie due to a FLTK bug
+ // (STR #2703) that was present in 1.3.0.
fl_pie(x, y, width, height, angle1, angle2);
+ }
}
void FltkViewBase::drawPolygon (core::style::Color *color,