summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fl_draw_arrow.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fl_draw_arrow.cxx b/src/fl_draw_arrow.cxx
index 2aef43889..0bee12226 100644
--- a/src/fl_draw_arrow.cxx
+++ b/src/fl_draw_arrow.cxx
@@ -220,6 +220,8 @@ static int fl_draw_arrow_choice(Fl_Rect r, Fl_Color col) {
void fl_draw_arrow(Fl_Rect r, Fl_Arrow_Type t, Fl_Orientation o, Fl_Color col) {
int ret = 0;
+ Fl_Color saved_color = fl_color();
+
debug_arrow(r);
// implementation of all arrow types
@@ -253,4 +255,6 @@ void fl_draw_arrow(Fl_Rect r, Fl_Arrow_Type t, Fl_Orientation o, Fl_Color col) {
fl_line(r.x(), r.b(), r.r(), r.y());
}
+ fl_color(saved_color);
+
} // fl_draw_arrow()