Branch: Tag:

2000-12-30

2000-12-30 16:51:15 by Martin Nilsson <mani@lysator.liu.se>

Can now be initialized to be empty. There should probably be some more design to this in 2.2...

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

1: - // $Id: module.pmod,v 1.43 2000/12/12 13:50:40 per Exp $ + // $Id: module.pmod,v 1.44 2000/12/30 16:51:15 nilsson Exp $      #include <module.h>   #include <roxen.h>
477:    int size = 15;    if( _max != _min )    size = max( strlen(_format(_max)), strlen(_format(_min)) )+2; -  return input(path(), _format(query()), size, additional_args); +  return input(path(), (query()==""?"":_format(query())), size, additional_args);    }   }