kopia lustrzana https://gitlab.com/sane-project/backends
Added missing option size (avoids crash on network scanning). Patch from Milon
Firikis <milonf@hotpop.com>.merge-requests/1/head
rodzic
f9d7350534
commit
6a0dd9cd5e
|
@ -1,3 +1,8 @@
|
|||
2003-03-05 Henning Meier-Geinitz <henning@meier-geinitz.de>
|
||||
|
||||
* backend/apple.c: Added missing option size (avoids crash on network
|
||||
scanning). Patch from Milon Firikis <milonf@hotpop.com>.
|
||||
|
||||
2003-03-05 Oliver Schirrmeister <oschirr@abm.de>
|
||||
* backend/fujitsu.c, backend/fujitsu.h: renamed some variables
|
||||
* backend/fujitsu.c: gray duplex scanning now works with the 4097D
|
||||
|
|
|
@ -1482,6 +1482,7 @@ init_options (Apple_Scanner * s)
|
|||
if (s->hw->ScannerModel != APPLESCANNER)
|
||||
s->opt[OPT_GRAYMAP].cap |= SANE_CAP_INACTIVE;
|
||||
s->opt[OPT_GRAYMAP].constraint.string_list = graymap_list;
|
||||
s->opt[OPT_GRAYMAP].size = max_string_size (graymap_list);
|
||||
s->val[OPT_GRAYMAP].s = strdup (graymap_list[1]);
|
||||
|
||||
/* Enable auto background adjustment */
|
||||
|
|
Ładowanie…
Reference in New Issue