kopia lustrzana https://gitlab.com/sane-project/backends
2000-08-15 Jochen Eisinger
* ChangeLog backend/mustek_pp.c: fixed bug in config_ccd_1013 that prevented ASIC 1013 scanners from workingDEVEL_2_0_BRANCH-1
rodzic
7c273a81e2
commit
b3b5d235a9
|
@ -510,9 +510,11 @@ static void
|
|||
config_ccd_1013 (Mustek_PP_Device * dev)
|
||||
{
|
||||
|
||||
if (dev->CCD.res != 0)
|
||||
dev->CCD.res_step =
|
||||
SANE_FIX ((float) dev->CCD.hwres / (float) dev->CCD.res);
|
||||
if (dev->CCD.res == 0)
|
||||
return;
|
||||
|
||||
dev->CCD.res_step =
|
||||
SANE_FIX ((float) dev->CCD.hwres / (float) dev->CCD.res);
|
||||
|
||||
set_dpi_value (dev);
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue