diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-04-15 20:45:07 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-04-15 20:45:07 +0000 |
| commit | 91c3b8231de57e381d33b154852092c04ab96f14 (patch) | |
| tree | d4c5c3a7ad8dbc2f40bb35a35d37580de2fd2c15 /fluid | |
| parent | fc4db193951bd5d791454f77eac336f9e1591d24 (diff) | |
Fix subclass callback output code.
Make fltk-config script executable after rerunning configure script.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4286 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 da406eff9..624408049 100644 --- a/fluid/Fl_Widget_Type.cxx +++ b/fluid/Fl_Widget_Type.cxx @@ -1496,7 +1496,7 @@ void Fl_Widget_Type::write_static() { if (k) { write_c("void %s::%s(%s* o, %s v) {\n", k, cn, t, ut); write_c(" ((%s*)(o->", k); - for (Fl_Type* p = parent; p->is_widget(); p = p->parent) + for (Fl_Type* p = parent; p && p->is_widget(); p = p->parent) write_c("parent()->"); write_c("user_data()))->%s_i(o,v);\n}\n", cn); } |
