Branch: Tag:

2002-06-06

2002-06-06 16:06:29 by Anders Johansson <anders@roxen.com>

Vinput of type float with a default value did not work. [bug 3133 (#3133)]

Rev: server/etc/modules/Variable.pmod/module.pmod:1.78

1: - // $Id: module.pmod,v 1.77 2002/05/13 16:17:49 jonasw Exp $ + // $Id: module.pmod,v 1.78 2002/06/06 16:06:29 anders Exp $      #include <module.h>   #include <roxen.h>
693:    int size = 15;    if( _max != _min )    size = max( strlen(_format(_max)), strlen(_format(_min)) )+2; -  return input(path(), (query()==""?"":_format(query())), size, additional_args); +  return input(path(), (query()==""?"":_format((float)query())), size, additional_args);    }   }