diff options
Diffstat (limited to 'src/doxytag.l')
-rw-r--r-- | src/doxytag.l | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/doxytag.l b/src/doxytag.l index f80a12b..d5a3edc 100644 --- a/src/doxytag.l +++ b/src/doxytag.l @@ -20,7 +20,6 @@ * includes */ #include <stdio.h> -#include <iostream.h> #include <assert.h> #include <ctype.h> @@ -165,7 +164,7 @@ static void addReference() // docRefName.data(),(docBaseLink+"#"+docAnchor).data()); if (genIndex && !docRefName.isEmpty() && !docBaseLink.isEmpty()) { - if (!docAnchor.isEmpty()) + if (docAnchor.isEmpty()) searchIndex.addReference(docRefName,docBaseLink); else searchIndex.addReference(docRefName,docBaseLink+"#"+docAnchor); |