From e643c17eea3312b6871ea389d3ab754f030fc3b8 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 13 May 2004 21:02:41 +0000 Subject: Fl_Gl_Window's on WIN32 now prefer accelerated pixel formats over generic formats (STR #382) Fl_Window::resize() did not work on some systems if the window was not shown (STR #373) FLUID did not write the user_data type if the user_data field was empty (STR #374) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3416 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- fluid/Fl_Type.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'fluid') diff --git a/fluid/Fl_Type.cxx b/fluid/Fl_Type.cxx index ef98cb8ac..9d7f584cb 100644 --- a/fluid/Fl_Type.cxx +++ b/fluid/Fl_Type.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Type.cxx,v 1.6.2.6.2.18 2004/04/11 04:38:55 easysw Exp $" +// "$Id: Fl_Type.cxx,v 1.6.2.6.2.19 2004/05/13 21:02:39 easysw Exp $" // // Widget type code for the Fast Light Tool Kit (FLTK). // @@ -757,10 +757,10 @@ void Fl_Type::write_properties() { write_indent(level+1); write_word("user_data"); write_word(user_data()); - if (user_data_type()) { - write_word("user_data_type"); - write_word(user_data_type()); - } + } + if (user_data_type()) { + write_word("user_data_type"); + write_word(user_data_type()); } if (callback()) { write_indent(level+1); @@ -791,5 +791,5 @@ void Fl_Type::read_property(const char *c) { int Fl_Type::read_fdesign(const char*, const char*) {return 0;} // -// End of "$Id: Fl_Type.cxx,v 1.6.2.6.2.18 2004/04/11 04:38:55 easysw Exp $". +// End of "$Id: Fl_Type.cxx,v 1.6.2.6.2.19 2004/05/13 21:02:39 easysw Exp $". // -- cgit v1.2.3