2003-12-08 Olga Rodimina <rodimina@redhat.com>

* java/awt/Polygon.java
	(translate): Fixed error that caused polygon
	to move right/left when up/down translation was required.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
	(getSelectionStart): Initialized start position to 0.
	(getSelectionEnd): Initialized end position to 0.
	(getCaretPosition): Initialized caret position to 0.
	(getText): Initialized selected text to NULL

From-SVN: r74445
This commit is contained in:
Olga Rodimina 2003-12-08 22:59:52 +00:00 committed by Tom Tromey
parent 367d6d0bd7
commit 1616b0d5f9
3 changed files with 16 additions and 5 deletions

View file

@ -185,7 +185,7 @@ public class Polygon implements Shape, Serializable
while (--i >= 0)
{
xpoints[i] += dx;
xpoints[i] += dy;
ypoints[i] += dy;
}
if (bounds != null)
{