diff options
author | Anthony Balkissoon <abalkiss@redhat.com> | 2006-01-05 23:52:14 +0000 |
---|---|---|
committer | Anthony Balkissoon <abalkiss@redhat.com> | 2006-01-05 23:52:14 +0000 |
commit | 236d4f35e68a64127d17bf0817f6871af71528e3 (patch) | |
tree | 1afb23ced052950d53d3f8383391e6427a5cb5fe | |
parent | d7bf4078ce4871a837ea23c008f56f32a0831905 (diff) | |
download | classpath-236d4f35e68a64127d17bf0817f6871af71528e3.tar.gz |
t
kjlsdfCVS: ----------------------------------------------------------------------
-rw-r--r-- | javax/swing/text/DefaultCaret.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/javax/swing/text/DefaultCaret.java b/javax/swing/text/DefaultCaret.java index 6d2857933..70ec57159 100644 --- a/javax/swing/text/DefaultCaret.java +++ b/javax/swing/text/DefaultCaret.java @@ -833,7 +833,7 @@ public class DefaultCaret extends Rectangle Document doc = textComponent.getDocument(); if (doc != null) this.dot = Math.min(dot, doc.getLength()); - this.dot = Math.max(dot, 0); + this.dot = Math.max(this.dot, 0); this.mark = dot; handleHighlight(); adjustVisibility(this); |