kopia lustrzana https://gitlab.com/sane-project/backends
Fix style.
rodzic
fcbeeccbf0
commit
e281dfb0cd
|
@ -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");
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue