Wykres commitów

10 Commity (3b1964354c8c8ab8724d0ab713fbb2dbaec5f599)

Autor SHA1 Wiadomość Data
Henning Geinitz c4743af452 Fixed overflow (bug #300389). 2003-12-21 21:54:29 +00:00
Henning Geinitz 3e84a1d216 Removed unnecessary variable. 2003-04-02 22:14:57 +00:00
Henning Geinitz df7d2cda19 Added function sanei_check_value in addition to the existing
sanei_constrain_value.  It checks if the value of a sane option fits into the
constraint but doesn't try to do any fixing/rounding.
2003-03-04 22:37:39 +00:00
Henning Geinitz 6df6af8d0e Round a word list value to the nearest entry (if necessary). Code was taken
from canon backend.
2003-02-26 18:52:55 +00:00
Henning Geinitz 63bfda58be Check that a SANE_Bool variable can only be SANE_TRUE or SANE_FALSE.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-06 20:42:07 +00:00
Petter Reinholdtsen f8bf4487a4 Include "sane/sanei.h" to make sure the prototype match the function. 2001-02-22 09:48:17 +00:00
Henning Geinitz 4f0b378b80 2000-11-10 Henning Meier-Geinitz <hmg@gmx.de>
* sanei/sanei_constrain_value.c: If constraint_type is
	  SANE_CONSTRAINT_RANGE and quantization is used, the results may
	  be outside the limits of the range because quantization uses the
	  orginal value. Fixed by doing quantization with the already
	  checked value.
2000-11-10 21:56:46 +00:00
Oliver Rauch bc7b3d76a5 * sanei/sanei_constrain_value.c:
if checked option is a range and the value is out of
          range the value is now corrected to the minimum or maximum
          allowed value and SANE_INFO_INEXACT is set.
          The old version returned with an error. This caused problems
          when the value was a little bit out of range because of rounding
          errors.

Oliver Rauch
2000-10-02 09:56:08 +00:00
Petter Reinholdtsen b4a1a513c9 Merge devel (v1.0.3) into head branch. 2000-08-12 15:11:46 +00:00
Petter Reinholdtsen 30ab5e718a Initial revision 1999-08-09 18:06:01 +00:00