kopia lustrzana https://gitlab.com/sane-project/backends
scanimage: revert previous range change.
It is not settled that this change is favourable and is probably out of scope for this issue. I will leave it for the moment.fix-build-obselete-jpeg
rodzic
dd078cd17d
commit
180ecf7b41
|
@ -446,13 +446,13 @@ print_option (SANE_Device * device, int opt_num, const SANE_Option_Descriptor *o
|
|||
{
|
||||
printf ("%d..%d",
|
||||
opt->constraint.range->min,
|
||||
opt->constraint.range->max);
|
||||
opt->constraint.range->max - tl_x);
|
||||
}
|
||||
else if (!strcmp (opt->name, "y"))
|
||||
{
|
||||
printf ("%d..%d",
|
||||
opt->constraint.range->min,
|
||||
opt->constraint.range->max);
|
||||
opt->constraint.range->max - tl_y);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -472,13 +472,13 @@ print_option (SANE_Device * device, int opt_num, const SANE_Option_Descriptor *o
|
|||
{
|
||||
printf ("%g..%g",
|
||||
SANE_UNFIX (opt->constraint.range->min),
|
||||
SANE_UNFIX (opt->constraint.range->max));
|
||||
SANE_UNFIX (opt->constraint.range->max - tl_x));
|
||||
}
|
||||
else if (!strcmp (opt->name, "y"))
|
||||
{
|
||||
printf ("%g..%g",
|
||||
SANE_UNFIX (opt->constraint.range->min),
|
||||
SANE_UNFIX (opt->constraint.range->max));
|
||||
SANE_UNFIX (opt->constraint.range->max - tl_y));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue