[sane-devel] long option format not recognized (Was: Epson Perfection 610 Issue with 150 dpi scan)

Alessandro Zummo azummo-lists at towertech.it
Mon Jan 4 02:09:24 UTC 2010


On Sun, 3 Jan 2010 20:04:13 -0500
"m. allan noah" <kitno455 at gmail.com> wrote:

> Alessandro- Can you take a look?

 This seems to have fixed the bug, committing.

@@ -1228,13 +1228,13 @@ init_options(Epson_Scanner *s)
        s->opt[OPT_ADVANCED_GROUP].title = SANE_I18N("Advanced");
        s->opt[OPT_ADVANCED_GROUP].desc = "";
        s->opt[OPT_ADVANCED_GROUP].type = SANE_TYPE_GROUP;
-       s->opt[OPT_ADVANCED_GROUP].cap |= SANE_CAP_ADVANCED;
+       s->opt[OPT_ADVANCED_GROUP].cap = SANE_CAP_ADVANCED;
 
        /* "Color correction" group: */
        s->opt[OPT_CCT_GROUP].title = SANE_I18N("Color correction");
        s->opt[OPT_CCT_GROUP].desc = "";
        s->opt[OPT_CCT_GROUP].type = SANE_TYPE_GROUP;
-       s->opt[OPT_CCT_GROUP].cap |= SANE_CAP_ADVANCED;
+       s->opt[OPT_CCT_GROUP].cap = SANE_CAP_ADVANCED;


-- 

 Best regards,

 Alessandro Zummo,
  Tower Technologies - Torino, Italy

  http://www.towertech.it




More information about the sane-devel mailing list