Branch: Tag:

2006-02-17

2006-02-17 06:26:29 by Martin Stjernholm <mast@lysator.liu.se>

Fixed [bug 4100 (#4100)].

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

1: - // $Id: module.pmod,v 1.90 2005/12/17 18:41:43 jonasw Exp $ + // $Id: module.pmod,v 1.91 2006/02/17 06:26:29 mast Exp $      #include <module.h>   #include <roxen.h>
681:    //! As a compatibility measure, the range check is removed if    //! maximum < minimum.    { -  if (maximum < minimum) +  if (maximum != no_limit && minimum != no_limit && maximum < minimum)    _max = _min = no_limit;    else {    _max = maximum;
766:    //! As a compatibility measure, the range check is removed if    //! maximum < minimum.    { -  if (maximum < minimum) +  if (maximum != no_limit && minimum != no_limit && maximum < minimum)    _max = _min = no_limit;    else {    _max = maximum;