epson2: fixed scanner detection

The scanner sources array was missing an entry in some
circumstances and this triggered an error checking
assertion.
merge-requests/1/head
Alessandro Zummo 2009-06-16 23:08:40 +02:00
rodzic 3d223411cd
commit 94ec5cb8a8
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -537,6 +537,8 @@ e2_discover_capabilities(Epson_Scanner *s)
dev->dpi_range.max = dev->res_list[dev->res_list_size - 1];
dev->dpi_range.quant = 0;
*source_list_add++ = FBF_STR;
e2_set_fbf_area(s, x, y, dev->dpi_range.max);
free(buf);