diff --git a/libjava/ChangeLog b/libjava/ChangeLog index e971b9c8c8eb196579ec579c5b53b45b40dd60c9..2eccd216d829ad336c4b09d09c62aaab08a849b1 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2002-01-24 Tom Tromey <tromey@redhat.com> + + * java/awt/image/ColorModel.java (getAlpha(Object)): Call + getAlpha, not getBlue. + 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz> * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint. diff --git a/libjava/java/awt/image/ColorModel.java b/libjava/java/awt/image/ColorModel.java index d9fa890b446f9aaa6d97d7eb0ca176efcad22e85..9cbbf4ba31792a90dd0ff14796d4f3e221178e05 100644 --- a/libjava/java/awt/image/ColorModel.java +++ b/libjava/java/awt/image/ColorModel.java @@ -293,7 +293,7 @@ public abstract class ColorModel implements Transparency * @see #getRed(Object) */ public int getAlpha(Object inData) { - return getBlue(getPixelFromArray(inData)); + return getAlpha(getPixelFromArray(inData)); } /**