+2001-08-09 Tom Tromey <tromey@redhat.com>
+
+ * java/awt/image/SampleModel.java (getPixel): Set correct array
+ element. From Chris Meyer.
+
2001-08-10 Loren J. Rittle <ljrittle@acm.org>
* java/lang/natObject.cc (is_mp): Protect use of _SC_NPROCESSORS_ONLN.
-/* Copyright (C) 2000 Free Software Foundation
+/* Copyright (C) 2000, 2001 Free Software Foundation
This file is part of libgcj.
for (int b=0; b<numBands; b++)
{
- fArray[0] = getSampleFloat(x, y, b, data);
+ fArray[b] = getSampleFloat(x, y, b, data);
}
return fArray;
}
if (dArray == null) dArray = new double[numBands];
for (int b=0; b<numBands; b++)
{
- dArray[0] = getSampleDouble(x, y, b, data);
+ dArray[b] = getSampleDouble(x, y, b, data);
}
return dArray;
}