Some opt_groups and options have not the same menu values (od->cap):

For the opt_bool_group, opt_int_group and opt_fixed_group: changed od->cap = 0; to od->cap = SANE_CAP_ADVANCED;
merge-requests/1/head
Gerard Klaver 2004-04-06 20:18:41 +00:00
rodzic 40638d29d7
commit a2f4f13f7a
2 zmienionych plików z 8 dodań i 3 usunięć

Wyświetl plik

@ -1,3 +1,8 @@
2004-04-06 Gerard Klaver <gerard at gkall dot hobby dot nl>
* backend/test.c changed some option group headers to advanced option
menu.
2004-04-06 Jochen Eisinger <jochen@penguin-breeder.org>
* sanei/sanei_pa4s2.c include/sane/sanei_pa4s2.h, backend/mustek_pp.c:

Wyświetl plik

@ -685,7 +685,7 @@ init_options (Test_Device * test_device)
od->type = SANE_TYPE_GROUP;
od->unit = SANE_UNIT_NONE;
od->size = 0;
od->cap = 0;
od->cap = SANE_CAP_ADVANCED;
od->constraint_type = SANE_CONSTRAINT_NONE;
od->constraint.range = 0;
test_device->val[opt_bool_group].w = 0;
@ -806,7 +806,7 @@ init_options (Test_Device * test_device)
od->type = SANE_TYPE_GROUP;
od->unit = SANE_UNIT_NONE;
od->size = 0;
od->cap = 0;
od->cap = SANE_CAP_ADVANCED;
od->constraint_type = SANE_CONSTRAINT_NONE;
od->constraint.range = 0;
test_device->val[opt_int_group].w = 0;
@ -919,7 +919,7 @@ init_options (Test_Device * test_device)
od->type = SANE_TYPE_GROUP;
od->unit = SANE_UNIT_NONE;
od->size = 0;
od->cap = 0;
od->cap = SANE_CAP_ADVANCED;
od->constraint_type = SANE_CONSTRAINT_NONE;
od->constraint.range = 0;
test_device->val[opt_fixed_group].w = 0;