From 2c38397142ca041e36a56e03c33a38dc15b8d85c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=E9phane=20Voltz?= Date: Wed, 5 Aug 2009 07:51:11 +0200 Subject: [PATCH] fix shading hp2300 shading calibration at dpi <= 300 --- backend/genesys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/genesys.c b/backend/genesys.c index 6780234d7..1eb073ede 100644 --- a/backend/genesys.c +++ b/backend/genesys.c @@ -3031,7 +3031,7 @@ genesys_send_shading_coefficient (Genesys_Device * dev) o = 2; if(dev->settings.xres<=dev->sensor.optical_res/2) { - o = o - dev->sensor.dummy_pixel; + o = o - dev->sensor.dummy_pixel / 2; } cmat[0] = 0; cmat[1] = 1;