2005-04-20 Jeroen Frijters <jeroen@frijters.net>
* java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
ColorModel,byte[],int,int): Fixed byte to int conversion.
From-SVN: r98448
+2005-04-20 Jeroen Frijters <jeroen@frijters.net>
+
+ * java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
+ ColorModel,byte[],int,int): Fixed byte to int conversion.
+
2005-04-20 Michael Koch <konqueror@gmx.de>
* java/io/FilePermission.java
assert (i >= 0 && i < int_pixel_buffer.length);
assert (p >= 0 && p < pixels.length);
- int_pixel_buffer[i] = currentModel.getRGB (pixels[p]);
+ int_pixel_buffer[i] = currentModel.getRGB (pixels[p] & 0xFF);
}
else
{