Fixed halftone pattern handling. The buffer was way too small. Option 0 has

an empty name. Better debug output for dev_cmd. Set size for group options to
0. Set size of halftone pattern to non 0.
Henning Meier-Geinitz <henning@meier-geinitz.de>
DEVEL_2_0_BRANCH-1
Henning Geinitz 2002-03-20 21:27:19 +00:00
rodzic febf58f64e
commit 329a4d31d9
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -9,7 +9,7 @@
;
:backend "mustek" ; name of backend
:version "1.0-118" ; version of backend
:version "1.0-119" ; version of backend
:status :stable ; :alpha, :beta, :stable, :new
:manpage "sane-mustek" ; name of manpage (if it exists)
:url "http://www.meier-geinitz.de/sane/"

Wyświetl plik

@ -254,7 +254,7 @@ typedef struct Mustek_Scanner
SANE_Option_Descriptor opt[NUM_OPTIONS];
Option_Value val[NUM_OPTIONS];
SANE_Int gamma_table[4][256];
SANE_Int halftone_pattern[64];
SANE_Int *halftone_pattern;
SANE_Bool custom_halftone_pattern;
SANE_Int halftone_pattern_type;