summaryrefslogtreecommitdiff
path: root/backend/hp3900_sane.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/hp3900_sane.c
parent0da9e21872802cfc6e975b1ebaf9efb9e5934d84 (diff)
parentfef76e17ed4c607ea73b81279f9ef1d7121be900 (diff)
Merge branch 'release/experimental/1.0.29-1_experimental1'experimental/1.0.29-1_experimental1
Diffstat (limited to 'backend/hp3900_sane.c')
-rw-r--r--backend/hp3900_sane.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/backend/hp3900_sane.c b/backend/hp3900_sane.c
index 410e35e..f8ed139 100644
--- a/backend/hp3900_sane.c
+++ b/backend/hp3900_sane.c
@@ -1405,7 +1405,7 @@ options_init (TScanner * scanner)
pDesc->title = SANE_I18N ("Scanner model");
pDesc->desc =
SANE_I18N
- ("Allows one to test device behaviour with other supported models");
+ ("Allows one to test device behavior with other supported models");
pDesc->type = SANE_TYPE_STRING;
pDesc->size = max_string_size (scanner->list_models);
pDesc->constraint_type = SANE_CONSTRAINT_STRING_LIST;
@@ -1419,7 +1419,7 @@ options_init (TScanner * scanner)
case opt_negative:
pDesc->name = "opt_negative";
pDesc->title = SANE_I18N ("Negative");
- pDesc->desc = SANE_I18N ("Image colours will be inverted");
+ pDesc->desc = SANE_I18N ("Image colors will be inverted");
pDesc->type = SANE_TYPE_BOOL;
pDesc->unit = SANE_UNIT_NONE;
pDesc->size = sizeof (SANE_Word);
@@ -1991,6 +1991,7 @@ option_get (TScanner * scanner, SANE_Int optid, void *result)
/* scanner buttons */
case opt_button_0:
get_button_status (scanner);
+ // fall through
case opt_button_1:
case opt_button_2:
case opt_button_3: