coolscan2: fixed coolscan2 infrared to work

as advertised in the man page. RGBA format will come soon.
merge-requests/1/head
Alessandro Zummo 2006-12-13 22:46:24 +00:00
rodzic 35d54905e8
commit 99770af682
2 zmienionych plików z 8 dodań i 0 usunięć

Wyświetl plik

@ -1,3 +1,9 @@
2006-12-13 Alessandro Zummo <a.zummo@towertech.it>
* coolscan2: fixed coolscan2 infrared to work
as advertised in the man page. RGBA format
will come soon.
2006-12-12 Alessandro Zummo <a.zummo@towertech.it>
* epson2: removed calls to alloca(), code reorganization

Wyświetl plik

@ -1482,6 +1482,7 @@ sane_read (SANE_Handle h, SANE_Byte * buf, SANE_Int maxlen, SANE_Int * len)
if (xfer_len_out == 0) /* no more data */
{
*len = 0;
s->scanning = SANE_FALSE;
return SANE_STATUS_EOF;
}
@ -1533,6 +1534,7 @@ sane_read (SANE_Handle h, SANE_Byte * buf, SANE_Int maxlen, SANE_Int * len)
if (xfer_len_line == 0) /* no more data */
{
*len = 0;
s->scanning = SANE_FALSE;
return SANE_STATUS_EOF;
}