Index: java/awt/image/SampleModel.java =================================================================== RCS file: /cvsroot/classpath/classpath/java/awt/image/SampleModel.java,v retrieving revision 1.5 diff -u -r1.5 SampleModel.java --- java/awt/image/SampleModel.java 16 Feb 2005 10:39:27 -0000 1.5 +++ java/awt/image/SampleModel.java 13 Jun 2005 19:04:29 -0000 @@ -1,4 +1,4 @@ -/* Copyright (C) 2000, 2001, 2002 Free Software Foundation +/* Copyright (C) 2000, 2001, 2002, 2005 Free Software Foundation This file is part of GNU Classpath. @@ -236,7 +236,7 @@ { for (int xx=x; xx<(x+w); xx++) { - getPixel(xx, yy, pixel, data); + pixel = getPixel(xx, yy, pixel, data); System.arraycopy(pixel, 0, iArray, outOffset, numBands); outOffset += numBands; } @@ -257,7 +257,7 @@ { for (int xx=x; xx<(x+w); xx++) { - getPixel(xx, yy, pixel, data); + pixel = getPixel(xx, yy, pixel, data); System.arraycopy(pixel, 0, fArray, outOffset, numBands); outOffset += numBands; } @@ -278,7 +278,7 @@ { for (int xx=x; xx<(x+w); xx++) { - getPixel(xx, yy, pixel, data); + pixel = getPixel(xx, yy, pixel, data); System.arraycopy(pixel, 0, dArray, outOffset, numBands); outOffset += numBands; }