diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2012-04-05 14:30:19 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2012-04-05 14:30:19 +0000 |
| commit | 8ed93f0065ab560c8b4b5a7a1924506eeda5e06e (patch) | |
| tree | ebb2ea88e41627af0e9e22fc5b546aa312fed1f4 /src/fl_plastic.cxx | |
| parent | 8809c5d65dd20895dcae90e9d2af05fd271f2e9e (diff) | |
fix a typo and indenting.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9326 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_plastic.cxx')
| -rw-r--r-- | src/fl_plastic.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fl_plastic.cxx b/src/fl_plastic.cxx index dd70a2bbc..6ded6fec7 100644 --- a/src/fl_plastic.cxx +++ b/src/fl_plastic.cxx @@ -145,11 +145,11 @@ static void frame_round(int x, int y, int w, int h, const char *c, Fl_Color bc) static void shade_rect(int x, int y, int w, int h, const char *c, Fl_Color bc) { - uchar *g = fl_gray_ramp(); - int i, j; + uchar *g = fl_gray_ramp(); + int i, j; int clen = (int) strlen(c) - 1; int chalf = clen / 2; - int cstep = 1; + int cstep = 1; if (h < (w * 2)) { // Horizontal shading... @@ -217,8 +217,8 @@ static void shade_rect(int x, int y, int w, int h, const char *c, Fl_Color bc) { } static void shade_round(int x, int y, int w, int h, const char *c, Fl_Color bc) { - uchar *g = fl_gray_ramp(); - int i; + uchar *g = fl_gray_ramp(); + int i; int clen = (int) (strlen(c) - 1); int chalf = clen / 2; |
