summaryrefslogtreecommitdiff
path: root/backend/coolscan3.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2021-02-16 18:24:46 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2021-02-16 18:24:46 +0100
commitecaaf250cb33ff61f37a7b441f2337584a655350 (patch)
tree4303648095deff998ae20c2393b56db527742ac9 /backend/coolscan3.c
parent5793a221e112fa49073de0137d6bfa750a61b0a1 (diff)
parent351b7328520c16730ceb46e5acae16038c42185e (diff)
Update upstream source from tag 'upstream/1.0.32'
Update to upstream version '1.0.32' with Debian dir 2c1111c59d9d68bcbf479a4a4de7697fe2de127f
Diffstat (limited to 'backend/coolscan3.c')
-rw-r--r--backend/coolscan3.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/backend/coolscan3.c b/backend/coolscan3.c
index 6163ec9..5bc5b5e 100644
--- a/backend/coolscan3.c
+++ b/backend/coolscan3.c
@@ -911,9 +911,9 @@ sane_open(SANE_String_Const name, SANE_Handle * h)
o.cap = SANE_CAP_SOFT_SELECT | SANE_CAP_SOFT_DETECT;
break;
case CS3_OPTION_FOCUS:
- o.name = "focus";
- o.title = "Focus position";
- o.desc = "Focus position for manual focus";
+ o.name = SANE_NAME_FOCUS;
+ o.title = SANE_TITLE_FOCUS;
+ o.desc = SANE_DESC_FOCUS;
o.type = SANE_TYPE_INT;
o.unit = SANE_UNIT_NONE;
o.size = WSIZE;
@@ -931,9 +931,9 @@ sane_open(SANE_String_Const name, SANE_Handle * h)
}
break;
case CS3_OPTION_AUTOFOCUS:
- o.name = "autofocus";
- o.title = "Autofocus";
- o.desc = "Perform autofocus before scan";
+ o.name = SANE_NAME_AUTOFOCUS;
+ o.title = SANE_TITLE_AUTOFOCUS;
+ o.desc = SANE_DESC_AUTOFOCUS;
o.type = SANE_TYPE_BOOL;
o.size = WSIZE;
o.cap = SANE_CAP_SOFT_SELECT | SANE_CAP_SOFT_DETECT;