summaryrefslogtreecommitdiff
path: root/fluid/Fl_Widget_Type.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2006-07-26 23:27:32 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2006-07-26 23:27:32 +0000
commit0043e7a44daa1b910d82d37a20c23b2b11245ed3 (patch)
tree5a71f99e3ef5bf8a8b191f77bf45cdb0e402bb1d /fluid/Fl_Widget_Type.cxx
parent7e3daaf14589bfd7eca55d90a58db70b71ea60c2 (diff)
Fix return of window widget - use "w" or the name of the window, as
appropriate. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5268 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/Fl_Widget_Type.cxx')
-rw-r--r--fluid/Fl_Widget_Type.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/fluid/Fl_Widget_Type.cxx b/fluid/Fl_Widget_Type.cxx
index b799fc173..b5f7441dc 100644
--- a/fluid/Fl_Widget_Type.cxx
+++ b/fluid/Fl_Widget_Type.cxx
@@ -2010,7 +2010,7 @@ void Fl_Widget_Type::write_code1() {
if (oused)
indentation += 2;
- if (wused) write_c("%s%s* w = o;\n",indent(), subclassname(this));
+ if (wused) write_c("%sw = o;\n", indent());
write_widget_code();
}