Author: spitzak Date: 2007-06-06 15:09:26 -0400 (Wed, 06 Jun 2007) New Revision: 5882 Log: Fix for str 1653 ValueInput destructor would crash if copy_label() had been called on it.
Modified: trunk/src/ValueInput.cxx Modified: trunk/src/ValueInput.cxx =================================================================== --- trunk/src/ValueInput.cxx 2007-06-06 18:19:38 UTC (rev 5881) +++ trunk/src/ValueInput.cxx 2007-06-06 19:09:26 UTC (rev 5882) @@ -127,7 +127,7 @@ input.label(label()); input.align(align()); input.copy_style(style()); - input.flags(flags()|CLICK_TO_FOCUS); + input.flags((flags()&~COPIED_LABEL)|CLICK_TO_FOCUS); input.draw(r); input.set_damage(0); } _______________________________________________ fltk-commit mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-commit
