--- backend/hp3900_config.c.orig 2009-02-23 15:37:00.000000000 +0100 +++ backend/hp3900_config.c 2009-07-29 15:03:46.000000000 +0200 @@ -935,7 +935,7 @@ static void ua4900_offset(SANE_Int resol { SANE_Int a; - for (a = 0; a < 12; a++) + for (a = 0; a < 6; a++) { if (myreg[a].resolution == resolution) {