diff options
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]; } |