summaryrefslogtreecommitdiff
path: root/backend/snapscan-options.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-03-30 21:30:45 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-03-30 21:30:45 +0200
commitee770c2346eb37e0dcb8b6cf3eaacf3d8efd6bbc (patch)
tree58f05092be1a17a939e861f8cadcda1b6ca2ecef /backend/snapscan-options.c
parent0da9e21872802cfc6e975b1ebaf9efb9e5934d84 (diff)
parentfef76e17ed4c607ea73b81279f9ef1d7121be900 (diff)
Merge branch 'release/experimental/1.0.29-1_experimental1'experimental/1.0.29-1_experimental1
Diffstat (limited to 'backend/snapscan-options.c')
-rw-r--r--backend/snapscan-options.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/backend/snapscan-options.c b/backend/snapscan-options.c
index 52fee81..999b312 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);
@@ -927,7 +927,7 @@ static void init_options (SnapScan_Scanner * ps)
po[OPT_ADVANCED_GROUP].constraint_type = SANE_CONSTRAINT_NONE;
po[OPT_RGB_LPR].name = "rgb-lpr";
- po[OPT_RGB_LPR].title = SANE_I18N("Colour lines per read");
+ po[OPT_RGB_LPR].title = SANE_I18N("Color lines per read");
po[OPT_RGB_LPR].desc = lpr_desc;
po[OPT_RGB_LPR].type = SANE_TYPE_INT;
po[OPT_RGB_LPR].unit = SANE_UNIT_NONE;
@@ -939,7 +939,7 @@ static void init_options (SnapScan_Scanner * ps)
ps->rgb_lpr = def_rgb_lpr;
po[OPT_GS_LPR].name = "gs-lpr";
- po[OPT_GS_LPR].title = SANE_I18N("Greyscale lines per read");
+ po[OPT_GS_LPR].title = SANE_I18N("Grayscale lines per read");
po[OPT_GS_LPR].desc = lpr_desc;
po[OPT_GS_LPR].type = SANE_TYPE_INT;
po[OPT_GS_LPR].unit = SANE_UNIT_NONE;