FLTK logo

[master] e8fa492 - Fixes warning.

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] e8fa492 - Fixes warning. "Matthias Melcher" 03:47 Apr 26  
 
commit e8fa4922641568b0e5972885a19c71887c8ff5d2
Author:     Matthias Melcher <github@matthiasm.com>
AuthorDate: Fri Apr 26 12:46:29 2024 +0200
Commit:     Matthias Melcher <github@matthiasm.com>
CommitDate: Fri Apr 26 12:46:29 2024 +0200

    Fixes warning.

 src/fl_round_box.cxx | 1 +
 1 file changed, 1 insertion(+)

diff --git src/fl_round_box.cxx src/fl_round_box.cxx
index 88cbcfc..c46e6f9 100644
--- src/fl_round_box.cxx
+++ 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);
Direct Link to Message ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.