* 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.
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