diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2019-07-31 17:00:58 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2019-07-31 17:00:58 +0200 |
commit | d087d778ffb62e2713cb848540bcc819470365bd (patch) | |
tree | d69692a274dd1c7d0672e6bb7155a0fc106f9d49 /backend/plustek-pp_scale.c | |
parent | c8bd2513ecba169cff44c09c8058c36987357b18 (diff) | |
parent | 3759ce55ba79b8d3b9d8ed247a252273ee7dade3 (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'backend/plustek-pp_scale.c')
-rw-r--r-- | backend/plustek-pp_scale.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/plustek-pp_scale.c b/backend/plustek-pp_scale.c index 295a566..6879d66 100644 --- a/backend/plustek-pp_scale.c +++ b/backend/plustek-pp_scale.c @@ -101,7 +101,7 @@ _LOC void ScaleX( pScanData ps, pUChar inBuf, pUChar outBuf ) ddax = 0; x = 0; if( 0 == step ) { - + /* binary scaling */ memset( outBuf, 0, ps->DataInf.dwAppBytesPerLine ); @@ -134,7 +134,7 @@ _LOC void ScaleX( pScanData ps, pUChar inBuf, pUChar outBuf ) while( ddax < 0 ) { for( j = 0; j < (ULong)step; j++ ) { - + if((x+j) < ps->DataInf.dwAppBytesPerLine ) { outBuf[x+j] = inBuf[i+j]; } |