--- mustek.c.orig Fri Feb 13 20:20:33 1998
+++ mustek.c Fri Feb 13 21:35:10 1998
@@ -1349,7 +1349,7 @@
for (y = 0; y < 2*dy; ++y)
{
if (num_lines - 2*dy + y >= 0)
- src = raw + (num_lines - 2*dy + y);
+ src = raw + (num_lines - 2*dy + y)*bpl;
else
src = s->ld.buf[RED] + (y + num_lines)*bpc;
memcpy (s->ld.buf[RED] + y*bpc, src, bpc);
Ciao,
Stefano
n.b. I have a 1200SP rev 1.00, which works well now :)
--------------------------------------------------------------
| Stefano Garavaglia | alter.ego@iol.it |
| Milano - Italy | http://users.iol.it/alter.ego |
--------------------------------------------------------------
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com