[rkward-cvs] rkward/rkward/plugin rkpluginspinbox.cpp,1.12,1.13

Thomas Friedrichsmeier tfry at users.sourceforge.net
Wed Mar 22 19:47:30 UTC 2006


Update of /cvsroot/rkward/rkward/rkward/plugin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7582

Modified Files:
	rkpluginspinbox.cpp 
Log Message:
do not default to min=FLT_MIN but min=-FLT_MAX

Index: rkpluginspinbox.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/plugin/rkpluginspinbox.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** rkpluginspinbox.cpp	20 Mar 2006 14:03:43 -0000	1.12
--- rkpluginspinbox.cpp	22 Mar 2006 19:47:28 -0000	1.13
***************
*** 47,51 ****
  	spinbox = new RKSpinBox (this);
  	if (!intmode) {
! 		double min = xml->getDoubleAttribute (element, "min", FLT_MIN, DL_INFO);
  		double max = xml->getDoubleAttribute (element, "max", FLT_MAX, DL_INFO);
  		double initial = xml->getDoubleAttribute (element, "initial", min, DL_INFO);
--- 47,51 ----
  	spinbox = new RKSpinBox (this);
  	if (!intmode) {
! 		double min = xml->getDoubleAttribute (element, "min", -FLT_MAX, DL_INFO);
  		double max = xml->getDoubleAttribute (element, "max", FLT_MAX, DL_INFO);
  		double initial = xml->getDoubleAttribute (element, "initial", min, DL_INFO);





More information about the rkward-tracker mailing list