summaryrefslogtreecommitdiffstats
path: root/src/suffixtree.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-07-09 19:45:37 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-07-09 19:45:37 (GMT)
commit61a83f312ce95090dc02ca3b8ce8dd3319d97df1 (patch)
tree2dbdf12fc6696bf3a9d133e8e23ef223690e919a /src/suffixtree.cpp
parente3baf8c5ec430e5f09f00384ebdfa35242fd3316 (diff)
downloadDoxygen-61a83f312ce95090dc02ca3b8ce8dd3319d97df1.zip
Doxygen-61a83f312ce95090dc02ca3b8ce8dd3319d97df1.tar.gz
Doxygen-61a83f312ce95090dc02ca3b8ce8dd3319d97df1.tar.bz2
Release-1.1.5_20000709
Diffstat (limited to 'src/suffixtree.cpp')
-rw-r--r--src/suffixtree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/suffixtree.cpp b/src/suffixtree.cpp
index ad0aebd..5439fc6 100644
--- a/src/suffixtree.cpp
+++ b/src/suffixtree.cpp
@@ -325,7 +325,7 @@ void SuffixTree::insertWord(const char *word,int index,bool inName)
{
QCString suffix=word;
uint i;
- for (i=2;i<suffix.length()-1;i++)
+ for (i=2;i<suffix.length();i++)
{
//printf("Inserting suffix %s\n",suffix.right(i).data());
nodes+=root->insert(suffix.right(i),index,inName?1:0,FALSE);