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
Ralph Little 2020-03-05 09:18:20 -08:00
rodzic dd078cd17d
commit 180ecf7b41
1 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -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
{