merge-requests/540/head
thierry1970 2020-09-17 18:55:03 +02:00
rodzic fcbeeccbf0
commit e281dfb0cd
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -1211,7 +1211,7 @@ sane_start(SANE_Handle h)
handler->scanner->use_threshold = 1;
}
}
if (handler->scanner->sharpen) {
if (handler->opt[OPT_SHARPEN].cap & SANE_CAP_INACTIVE) {
DBG(10, "Not use Sharpen\n");

Wyświetl plik

@ -292,7 +292,7 @@ print_support(xmlNode *node)
if (!strcmp((const char *)node->name, "Min")){
sup->min = atoi((const char *)xmlNodeGetContent(node));
cpt++;
}
}
else if (!strcmp((const char *)node->name, "Max")) {
sup->step = atoi((const char *)xmlNodeGetContent(node));
cpt++;
@ -327,7 +327,7 @@ find_struct_variables(xmlNode *node, capabilities_t *scanner)
scanner->sharpen =
print_support(node->children);
else if (strcmp(name, "ThresholdSupport") == 0)
scanner->threshold =
scanner->threshold =
print_support(node->children);
return (0);
}