summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2024-04-26 12:46:29 +0200
committerMatthias Melcher <github@matthiasm.com>2024-04-26 12:46:29 +0200
commite8fa4922641568b0e5972885a19c71887c8ff5d2 (patch)
treeda70c7bbe1ae640fca8886c4a7c013fcd0d7f3dc
parent281ec24c8f4b7daf7cc4e7c30b640cbe0b33d037 (diff)
Fixes warning.
-rw-r--r--src/fl_round_box.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fl_round_box.cxx b/src/fl_round_box.cxx
index 88cbcfc25..c46e6f9ae 100644
--- a/src/fl_round_box.cxx
+++ b/src/fl_round_box.cxx
@@ -117,6 +117,7 @@ void fl_round_focus(Fl_Boxtype bt, int x, int y, int w, int h, Fl_Color fg, Fl_C
fl_line_style(FL_DOT);
draw(CLOSED, x, y, w, h, 0, fl_contrast(fg, bg));
fl_line_style(FL_SOLID);
+ fl_color(savecolor);
}
extern void fl_internal_boxtype(Fl_Boxtype, Fl_Box_Draw_F*, Fl_Box_Draw_Focus_F* =NULL);