diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-05-24 21:03:56 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-05-24 21:03:56 +0200 |
commit | 58912f68c2489bcee787599837447e0d64dfd61a (patch) | |
tree | dda50aadde35fe152da1a8d50769987ace0f1496 /backend/niash_core.c | |
parent | cfd27ef2ad8b005fd47ab41ef29b71d9e3d48201 (diff) |
New upstream version 1.0.27upstream/1.0.27
Diffstat (limited to 'backend/niash_core.c')
-rw-r--r-- | backend/niash_core.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/backend/niash_core.c b/backend/niash_core.c index e3ae2b8..b87f4f6 100644 --- a/backend/niash_core.c +++ b/backend/niash_core.c @@ -645,9 +645,6 @@ InitScan (TScanParams * pParams, THWParams * pHWParams) int iHeight; int iExpTime; TScanParams Params; - int iHandle; - - iHandle = pHWParams->iXferHandle; /* check validity of scanparameters */ switch (pParams->iDpi) @@ -1228,7 +1225,7 @@ SimpleCalibExt (THWParams * pHWPar, unsigned char *pabCalibTable, SANE_Bool iReversedHead; int startWhiteY, endWhiteY; int startBlackY, endBlackY; - int startBlackX, endBlackX; + int endBlackX; iHandle = pHWPar->iXferHandle; iReversedHead = pHWPar->iReversedHead; @@ -1265,7 +1262,6 @@ SimpleCalibExt (THWParams * pHWPar, unsigned char *pabCalibTable, endWhiteY = 15; startBlackY = 16; endBlackY = 135; - startBlackX = 0; endBlackX = HW_PIXELS; } else @@ -1274,7 +1270,6 @@ SimpleCalibExt (THWParams * pHWPar, unsigned char *pabCalibTable, endWhiteY = 70; startBlackY = 86; endBlackY = 135; - startBlackX = 1666; endBlackX = 3374; } |