Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Goldthorpe2009-02-26 18:54:29 +0000
committerChris Goldthorpe2009-02-26 18:54:29 +0000
commit59cae5fcf7f344ecd63f00d9c4211c2d912c5388 (patch)
treef05e6657d2cca69ba07a7cd73786cf77f04b138f /org.eclipse.help
parent59c79c68ab516899cf8b57ef81dccf971d5d0836 (diff)
downloadeclipse.platform.ua-59cae5fcf7f344ecd63f00d9c4211c2d912c5388.tar.gz
eclipse.platform.ua-59cae5fcf7f344ecd63f00d9c4211c2d912c5388.tar.xz
eclipse.platform.ua-59cae5fcf7f344ecd63f00d9c4211c2d912c5388.zip
Fixup comment
Diffstat (limited to 'org.eclipse.help')
-rw-r--r--org.eclipse.help/src/org/eclipse/help/internal/toc/Toc.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.help/src/org/eclipse/help/internal/toc/Toc.java b/org.eclipse.help/src/org/eclipse/help/internal/toc/Toc.java
index fe4b633e9..2406c13f5 100644
--- a/org.eclipse.help/src/org/eclipse/help/internal/toc/Toc.java
+++ b/org.eclipse.help/src/org/eclipse/help/internal/toc/Toc.java
@@ -74,7 +74,7 @@ public class Toc extends UAElement implements IToc {
if (href != null) {
map.put(href, topic);
int anchorIx = href.lastIndexOf("#"); //$NON-NLS-1$
- if (anchorIx >= 0) { //anchor exists, drop it and add
+ if (anchorIx >= 0) { //anchor exists, drop it and add href again to map
String simpleHref = href.substring(0, anchorIx);
if (!map.containsKey(simpleHref)) {
map.put(simpleHref, topic);

Back to the top