aboutsummaryrefslogtreecommitdiff
path: root/dw
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2012-10-03 05:36:44 +0000
committercorvid <corvid@lavabit.com>2012-10-03 05:36:44 +0000
commit16d2a80cd16960618df724aba9f098ecb12bd5d2 (patch)
treeb7c5d7cdee23447ff2521d99eedd5b016e9d8a81 /dw
parent39ee4950acf53e63f0a8bf8cd7111f7ad282f6bb (diff)
comment the fl_pie workaround
Diffstat (limited to 'dw')
-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,