From e8fa4922641568b0e5972885a19c71887c8ff5d2 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Fri, 26 Apr 2024 12:46:29 +0200 Subject: [PATCH] Fixes warning. --- src/fl_round_box.cxx | 1 + 1 file changed, 1 insertion(+) 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);