From 8f281fbd9ba615ded09b8190e5c9ba3a5a99ebd8 Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Sat, 27 Jan 2024 20:51:36 +0100 Subject: [PATCH] add contrast well known --- src/kds_s2000w_net.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/kds_s2000w_net.c b/src/kds_s2000w_net.c index a055fb9..975b9f8 100644 --- a/src/kds_s2000w_net.c +++ b/src/kds_s2000w_net.c @@ -395,9 +395,9 @@ const SANE_Option_Descriptor* _sane_kds_s2000w_net_get_option_descriptor( option_descriptors[option].constraint.string_list = constraint_binarization_mode; break; case 20: - option_descriptors[option].name = "binarizationcontrast"; - option_descriptors[option].title = "binarizationcontrast"; - option_descriptors[option].desc = "binarizationcontrast"; + option_descriptors[option].name = SANE_NAME_CONTRAST; + option_descriptors[option].title = SANE_TITLE_CONTRAST; + option_descriptors[option].desc = SANE_DESC_CONTRAST; option_descriptors[option].cap = SANE_CAP_SOFT_DETECT | SANE_CAP_SOFT_SELECT; option_descriptors[option].constraint_type = SANE_CONSTRAINT_RANGE; constraint_binarization_contrast->min = -50; -- 2.39.5