Wykres commitów

6 Commity (85123ac4164d2f865a4a2ec7603c6c0e2a275bf3)

Autor SHA1 Wiadomość Data
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