diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2019-07-31 17:00:20 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2019-07-31 17:00:20 +0200 |
commit | 3759ce55ba79b8d3b9d8ed247a252273ee7dade3 (patch) | |
tree | d69692a274dd1c7d0672e6bb7155a0fc106f9d49 /backend/snapscan-options.c | |
parent | c8bd2513ecba169cff44c09c8058c36987357b18 (diff) | |
parent | 1687222e1b9e74c89cafbb5910e72d8ec7bfd40f (diff) |
Update upstream source from tag 'upstream/1.0.28'
Update to upstream version '1.0.28'
with Debian dir ec5bb298266630fc3801ff6dc0c258f6df7ba979
Diffstat (limited to 'backend/snapscan-options.c')
-rw-r--r-- | backend/snapscan-options.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/backend/snapscan-options.c b/backend/snapscan-options.c index 52fee81..3ef85ae 100644 --- a/backend/snapscan-options.c +++ b/backend/snapscan-options.c @@ -232,23 +232,23 @@ static const SANE_Range focus_range = static const SANE_Range brightness_range = { - -400 << SANE_FIXED_SCALE_SHIFT, - 400 << SANE_FIXED_SCALE_SHIFT, - 1 << SANE_FIXED_SCALE_SHIFT + SANE_FIX(-400), + SANE_FIX(400), + SANE_FIX(1) }; static const SANE_Range contrast_range = { - -100 << SANE_FIXED_SCALE_SHIFT, - 400 << SANE_FIXED_SCALE_SHIFT, - 1 << SANE_FIXED_SCALE_SHIFT + SANE_FIX(-100), + SANE_FIX(400), + SANE_FIX(1) }; static const SANE_Range positive_percent_range = { - 0 << SANE_FIXED_SCALE_SHIFT, - 100 << SANE_FIXED_SCALE_SHIFT, - 1 << SANE_FIXED_SCALE_SHIFT + SANE_FIX(0), + SANE_FIX(100), + SANE_FIX(1) }; static void control_options(SnapScan_Scanner *pss); |