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:
parent
367d6d0bd7
commit
1616b0d5f9
3 changed files with 16 additions and 5 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue