aboutsummaryrefslogtreecommitdiff
path: root/libjava/javax/swing/DefaultSingleSelectionModel.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/javax/swing/DefaultSingleSelectionModel.java')
-rw-r--r--libjava/javax/swing/DefaultSingleSelectionModel.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/javax/swing/DefaultSingleSelectionModel.java b/libjava/javax/swing/DefaultSingleSelectionModel.java
index 86e43e1..e3f990d 100644
--- a/libjava/javax/swing/DefaultSingleSelectionModel.java
+++ b/libjava/javax/swing/DefaultSingleSelectionModel.java
@@ -115,7 +115,7 @@ public class DefaultSingleSelectionModel
*/
public boolean isSelected ()
{
- return (index == -1);
+ return (index != -1);
}
/**