From 6645a6b225b165b740edd71dbc3a3b67dd0bbb63 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 14 Dec 2016 18:38:01 +0000 Subject: It is better to reset the line width after having finished to draw with a modified width. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12146 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- test/offscreen.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'test/offscreen.cxx') diff --git a/test/offscreen.cxx b/test/offscreen.cxx index 13e6f8baa..c8b41637b 100644 --- a/test/offscreen.cxx +++ b/test/offscreen.cxx @@ -220,6 +220,7 @@ void oscr_box::oscr_drawing(void) ox = ex; oy = ey; } + fl_line_style(FL_SOLID, 0); fl_end_offscreen(); // close the offscreen context redraw(); } // oscr_drawing -- cgit v1.2.3