summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-12-14 18:38:01 +0000
committerManolo Gouy <Manolo>2016-12-14 18:38:01 +0000
commit6645a6b225b165b740edd71dbc3a3b67dd0bbb63 (patch)
tree2fa38d48e16685c3a61cac74dd06a75d7d0a5dfd
parent843aba4c68dfd22fe1512914a68156d7e3fb6c17 (diff)
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
-rw-r--r--test/offscreen.cxx1
1 files changed, 1 insertions, 0 deletions
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