]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
fix activate blue gamma vector
authorBastian Dehn <hhaalo@arcor.de>
Mon, 26 Feb 2024 14:56:47 +0000 (15:56 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Mon, 26 Feb 2024 14:56:47 +0000 (15:56 +0100)
src/kds_s2000w_option_descriptors.c

index 68d68f28559dff81cedfefa886b6e7139e86c31e..fe1e4944d204c9a1718e0bfa61a9b7de0d2aef3f 100644 (file)
@@ -669,7 +669,7 @@ SANE_Option_Descriptor* _kds_s2000w_option_descriptor_gamma_vector_b()
        constraint_gamma_range->min = 0;
        constraint_gamma_range->max = 255;
        constraint_gamma_range->quant = 0;
-       descriptor->cap = SANE_CAP_SOFT_SELECT | SANE_CAP_SOFT_DETECT | SANE_CAP_INACTIVE;
+       descriptor->cap = SANE_CAP_SOFT_SELECT | SANE_CAP_SOFT_DETECT;
        descriptor->constraint_type = SANE_CONSTRAINT_RANGE;
        descriptor->constraint.range = constraint_gamma_range_b;
        descriptor->size = sizeof(SANE_Int) * 256;