mirror of
https://github.com/openharmony/third_party_sane-airscan.git
synced 2026-07-01 21:14:00 -04:00
Cosmetic
This commit is contained in:
@@ -645,7 +645,6 @@ devopt_set_defaults (devopt *opt)
|
||||
opt->highlight = SANE_FIX(100.0);
|
||||
opt->gamma = SANE_FIX(1.0);
|
||||
|
||||
|
||||
devopt_rebuild_opt_desc(opt);
|
||||
devopt_update_params(opt);
|
||||
}
|
||||
|
||||
@@ -353,7 +353,6 @@ escl_devcaps_parse_justification (xml_rd *xml,
|
||||
*x = *y = ID_JUSTIFICATION_UNKNOWN;
|
||||
|
||||
for (; !xml_rd_end(xml); xml_rd_next(xml)) {
|
||||
/* Currently only care about width justification */
|
||||
if(xml_rd_node_name_match(xml, "pwg:XImagePosition")){
|
||||
const char *v = xml_rd_node_value(xml);
|
||||
if (!strcmp(v, "Right")){
|
||||
|
||||
@@ -2608,7 +2608,7 @@ typedef struct {
|
||||
/* Sources */
|
||||
devcaps_source *src[NUM_ID_SOURCE]; /* Missed sources are NULL */
|
||||
|
||||
/* ADF X Justification */
|
||||
/* ADF Justification */
|
||||
ID_JUSTIFICATION justification_x; /* Width justification*/
|
||||
ID_JUSTIFICATION justification_y; /* Height justification*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user