summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2005-05-20 02:44:03 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2005-05-20 02:44:03 +0000
commitdfc390e735ec4661874348f0a1d239004954e18f (patch)
treebce60018465f96db4c923b970e00190b1c2e7087
parentb33cc948106fbea0fd4bc1a129f4e42346aa9840 (diff)
Fix FL_PLASTIC_DOWN_BOX artifacts (STR #852)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4363 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--CHANGES1
-rw-r--r--src/fl_plastic.cxx2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 212650cbd..719569bc2 100644
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,7 @@ CHANGES IN FLTK 1.1.7
- Documentation fixes (STR #648, STR #692, STR #730, STR
#744, STR #745)
+ - FL_PLASTIC_DOWN_BOX drew with artifacts (STR #852)
- Changed initializations on WIN32 (STR #862)
- Fl_Preferences::getUserdataPath() didn't work for
sub-groups (STR #872)
diff --git a/src/fl_plastic.cxx b/src/fl_plastic.cxx
index e8bbb9ffa..7b395f8a8 100644
--- a/src/fl_plastic.cxx
+++ b/src/fl_plastic.cxx
@@ -274,7 +274,7 @@ static void up_round(int x, int y, int w, int h, Fl_Color c) {
static void down_frame(int x, int y, int w, int h, Fl_Color c) {
- frame_rect(x, y, w, h - 1, "LLRRTTLL", c);
+ frame_rect(x, y, w, h - 1, "LLLLTTRR", c);
}