diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2008-10-13 20:11:30 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2008-10-13 20:11:30 +0000 |
| commit | 8a20846803ea1d442c0eedc649cc6d4073bfa463 (patch) | |
| tree | 43b3820c714bc37f0adae2f05eb91b5d7ff9d72f /fluid | |
| parent | 395129dfdbea73c32b8c7f36397d2f9cec4b5388 (diff) | |
STR 1992: Fixed Fluid textcolor output
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6420 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid')
| -rw-r--r-- | fluid/Fl_Widget_Type.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fluid/Fl_Widget_Type.cxx b/fluid/Fl_Widget_Type.cxx index b3f72a408..8b9b84a22 100644 --- a/fluid/Fl_Widget_Type.cxx +++ b/fluid/Fl_Widget_Type.cxx @@ -2245,7 +2245,7 @@ void Fl_Widget_Type::write_widget_code() { Fl_Font f; int s; Fl_Color c; textstuff(0,f,s,c); if (f != ff) write_c("%s%s->textfont(%d);\n", indent(), var, f); if (s != fs) write_c("%s%s->textsize(%d);\n", indent(), var, s); - if (c != fc) write_c("%s%s->textcolor(%d);\n",indent(), var, c); + if (c != fc) write_color("textcolor", c); }} const char* ud = user_data(); if (class_name(1) && !parent->is_widget()) ud = "this"; |
