From e5b9f51b467c2eeb0060ea7c34b148eabf031b25 Mon Sep 17 00:00:00 2001 From: mkoch Date: Tue, 20 Apr 2004 18:04:50 +0000 Subject: [PATCH] 2004-04-20 Ingo Proetel * java/awt/event/MouseEvent.java (): fixed field assignment git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80915 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/ChangeLog | 4 ++++ libjava/java/awt/event/MouseEvent.java | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 47121da..2d0d0a7 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,7 @@ +2004-04-20 Ingo Proetel + + * java/awt/event/MouseEvent.java (): fixed field assignment + 2004-04-20 Jeroen Frijters * java/text/DecimalFormat.java (scanFix): Removed suffix check diff --git a/libjava/java/awt/event/MouseEvent.java b/libjava/java/awt/event/MouseEvent.java index 5010eb9..ac8804c 100644 --- a/libjava/java/awt/event/MouseEvent.java +++ b/libjava/java/awt/event/MouseEvent.java @@ -220,11 +220,11 @@ public class MouseEvent extends InputEvent if ((modifiers & EventModifier.OLD_MASK) != 0) { if ((modifiers & BUTTON1_MASK) != 0) - button = BUTTON1; + this.button = BUTTON1; else if ((modifiers & BUTTON2_MASK) != 0) - button = BUTTON2; + this.button = BUTTON2; else if ((modifiers & BUTTON3_MASK) != 0) - button = BUTTON3; + this.button = BUTTON3; } } -- 2.7.4