]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
change group name
authorBastian Dehn <hhaalo@arcor.de>
Mon, 17 Feb 2025 15:27:49 +0000 (16:27 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Mon, 17 Feb 2025 15:27:49 +0000 (16:27 +0100)
src/kds_s2000w_option_descriptors.c
tests/kds_s2000w_option_descriptor_tests.c

index bcc6b3173b9822b6e1b47289a0ff7fb6b2880c00..5ef4cc8f195e3b83c8c9381e6fbda13165056408 100644 (file)
@@ -1037,14 +1037,14 @@ SANE_Option_Descriptor _kds_s2000w_option_descriptor_image_height()
        return descriptor;
 }
 
-SANE_Option_Descriptor _kds_s2000w_option_descriptor_advanced_group()
+SANE_Option_Descriptor _kds_s2000w_option_descriptor_boldness_smoothing_group()
 {
        kds_s2000w_debug_printf(ALL, "kds_s2000w_option_descriptor_advanced_group");
 
        SANE_Option_Descriptor descriptor = {
-               SANE_NAME_ADVANCED,
-               SANE_TITLE_ADVANCED,
-               SANE_DESC_ADVANCED,
+               "boldness-smoothing",
+               "Boldness / Smoothing Options",
+               "Foreground boldness Options and background smoothing options",
                SANE_TYPE_GROUP,
                SANE_UNIT_NONE,
                0,
@@ -1073,7 +1073,7 @@ void kds_s2000w_option_descriptors_init()
        descriptor_array[10] = _kds_s2000w_option_descriptor_image_offset_y();
        descriptor_array[11] = _kds_s2000w_option_descriptor_image_width();
        descriptor_array[12] = _kds_s2000w_option_descriptor_image_height();
-       descriptor_array[13] = _kds_s2000w_option_descriptor_advanced_group();
+       descriptor_array[13] = _kds_s2000w_option_descriptor_boldness_smoothing_group();
        descriptor_array[14] = _kds_s2000w_option_descriptor_color_balance_red();
        descriptor_array[15] = _kds_s2000w_option_descriptor_color_balance_green();
        descriptor_array[16] = _kds_s2000w_option_descriptor_color_balance_blue();
index 61f9a706ab750e7ad89330244173f68cc05542d9..e818145b05219e776a27fb58d5870f43ac03f609 100644 (file)
@@ -242,9 +242,9 @@ void kds_s2000w_option_get_descriptor_thirdteen_test()
 {
        SANE_Option_Descriptor* option = kds_s2000w_option_descriptors_get(13);
 
-       assert_string_equal(SANE_NAME_ADVANCED, option->name);
-       assert_string_equal(SANE_TITLE_ADVANCED, option->title);
-       assert_string_equal(SANE_DESC_ADVANCED, option->desc);
+       assert_string_equal("boldness-smoothing", option->name);
+       assert_string_equal("Boldness / Smoothing Options", option->title);
+       assert_string_equal("Foreground boldness Options and background smoothing options", option->desc);
        assert_int_equal(SANE_TYPE_GROUP, option->type);
        assert_int_equal(SANE_UNIT_NONE, option->unit);
        assert_int_equal(0, option->size);