Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjames2002-03-05 17:20:24 -0500
committerjames2002-03-05 17:20:24 -0500
commitca401dce686c08112e52e7d848005161df21be3e (patch)
tree7980da8078e81c472348c3e3efec4db79f65337c
parent37178c909fdb2a15ae46e7d04256ffd944f2c94a (diff)
downloadeclipse.platform.team-ca401dce686c08112e52e7d848005161df21be3e.tar.gz
eclipse.platform.team-ca401dce686c08112e52e7d848005161df21be3e.tar.xz
eclipse.platform.team-ca401dce686c08112e52e7d848005161df21be3e.zip
Fix minor bug in history view related to comment truncation
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/HistoryView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/HistoryView.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/HistoryView.java
index 2fd1e5905..0a3de1568 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/HistoryView.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/HistoryView.java
@@ -148,7 +148,7 @@ public class HistoryView extends ViewPart implements ISelectionListener {
case 0:
return "[...]";
default:
- return comment.substring(0, index - 1) + "[...]";
+ return comment.substring(0, index) + "[...]";
}
}
return "";

Back to the top