look at correct bool before enabling prepick mode option

merge-requests/1/head
m. allan noah 2008-05-16 13:20:50 +00:00
rodzic f6f4de5d5d
commit 5c10c3f29b
2 zmienionych plików z 5 dodań i 1 usunięć

Wyświetl plik

@ -1,3 +1,6 @@
2008-05-16 m. allan noah <kitno455 a t gmail d o t com>
* backend/fujitsu.c: inspect correct bool to enable prepick mode
2008-05-15 m. allan noah <kitno455 a t gmail d o t com>
* doc/descriptions/cardscan.desc, doc/descriptions/epjitsu.desc,
doc/descriptions/hp3900.desc, doc/descriptions/hp5590.desc,

Wyświetl plik

@ -300,6 +300,7 @@
- minor cleanups to init_ms()
- add fi-5530C2 usb id
- merge find_scanners into sane_get_devices
- inspect correct bool to enable prepick mode option
SANE FLOW DIAGRAM
@ -3382,7 +3383,7 @@ sane_control_option (SANE_Handle handle, SANE_Int option,
s->prepick = MSEL_ON;
else if (!strcmp(val, string_Off))
s->prepick = MSEL_OFF;
if (s->has_MS_buff)
if (s->has_MS_prepick)
return mode_select_prepick(s);
else
return SANE_STATUS_GOOD;