]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
change skip pages upper case first letter
authorBastian Dehn <hhaalo@arcor.de>
Tue, 18 Feb 2025 16:26:49 +0000 (17:26 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Tue, 18 Feb 2025 16:26:49 +0000 (17:26 +0100)
src/kds_s2000w_option_descriptors.c
tests/kds_s2000w_option_descriptor_tests.c

index 5f427f836333b3bc65bff1481ca7f654291dd3ca..c7a503c236e318ad732df1c38218093c5f532686 100644 (file)
@@ -144,8 +144,8 @@ SANE_Option_Descriptor _kds_s2000w_option_descriptor_skip_blank_pages()
 
        SANE_Option_Descriptor descriptor = {
                "skip-blank-pages",
-               "Blank Image Deletion Mode",
-               "Blank Image Deletion Mode",
+               "Blank Blank Pages",
+               "Blank Blank Pages",
                SANE_TYPE_BOOL,
                SANE_UNIT_NONE,
                sizeof(SANE_Bool),
@@ -832,8 +832,8 @@ SANE_Option_Descriptor _kds_s2000w_option_descriptor_skip_blank_page_content()
 
        SANE_Option_Descriptor descriptor = {
                "skip-blank-page-content",
-               "skip blank page content",
-               "skip blank page content",
+               "Skip Blank Page Content",
+               "Skip Blank Page Content",
                SANE_TYPE_INT,
                SANE_UNIT_PERCENT,
                sizeof(SANE_Int),
index e8d97f5c9eab7fb9df49fe6ea31c6159bb4a0453..702bdb684acefbbdf394a68c1c4bce0156942deb 100644 (file)
@@ -584,8 +584,8 @@ void kds_s2000w_option_get_descriptor_thirdythree_test()
        SANE_Option_Descriptor* option = kds_s2000w_option_descriptors_get(33);
 
        assert_string_equal("skip-blank-pages", option->name);
-       assert_string_equal("Blank Image Deletion Mode", option->title);
-       assert_string_equal("Blank Image Deletion Mode", option->desc);
+       assert_string_equal("Blank Blank Pages", option->title);
+       assert_string_equal("Blank Blank Pages", option->desc);
        assert_int_equal(SANE_TYPE_BOOL, option->type);
        assert_int_equal(SANE_UNIT_NONE, option->unit);
        assert_int_equal(sizeof(SANE_Bool),  option->size);
@@ -598,8 +598,8 @@ void kds_s2000w_option_get_descriptor_thirdyfour_test()
        SANE_Option_Descriptor* option = kds_s2000w_option_descriptors_get(34);
 
        assert_string_equal("skip-blank-page-content", option->name);
-       assert_string_equal("skip blank page content", option->title);
-       assert_string_equal("skip blank page content", option->desc);
+       assert_string_equal("Skip Blank Page Content", option->title);
+       assert_string_equal("Skip Blank Page Content", option->desc);
        assert_int_equal(SANE_TYPE_INT, option->type);
        assert_int_equal(SANE_UNIT_PERCENT, option->unit);
        assert_int_equal(sizeof(SANE_Int), option->size);