kopia lustrzana https://gitlab.com/sane-project/backends
enable threshold if scanner capability is PIXMA_CAP_LINEART
rodzic
050707e804
commit
a749b0f48a
|
@ -641,7 +641,8 @@ control_option (pixma_sane_t * ss, SANE_Int n,
|
|||
}
|
||||
break;
|
||||
case opt_mode:
|
||||
if (a == SANE_ACTION_SET_VALUE || a == SANE_ACTION_SET_AUTO)
|
||||
if (cfg->cap & (PIXMA_CAP_LINEART)
|
||||
&& (a == SANE_ACTION_SET_VALUE || a == SANE_ACTION_SET_AUTO))
|
||||
{
|
||||
if (ss->mode_map[OVAL (opt_mode).w] == PIXMA_SCAN_MODE_LINEART)
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue