Merge branch 'escl-ADF-only-scans-first-page' into 'master'

Moves to the next page.

See merge request sane-project/backends!416
merge-requests/463/merge
Ordissimo 2020-04-21 13:06:27 +00:00
commit 5cf347d34d
1 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -1084,12 +1084,12 @@ sane_read(SANE_Handle h, SANE_Byte *buf, SANE_Int maxlen, SANE_Int *len)
handler->scanner->work = next_page;
handler->ps.last_frame = !next_page;
if (handler->ps.last_frame == SANE_TRUE)
status = SANE_STATUS_EOF;
else
status = SANE_STATUS_NO_DOCS;
else
status = SANE_STATUS_EOF;
}
else
status = SANE_STATUS_EOF;
else
status = SANE_STATUS_EOF;
return status;
}
return (SANE_STATUS_GOOD);