summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-06-07 11:29:37 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-06-07 11:29:37 (GMT)
commit2cc3b18da39bde323c5739483e507a133e93ac22 (patch)
tree79db8cf63bafea185f722cbc96fccda24fd10b1f
parentf4388dc4a62e183b7ca4457eba7cb978a35804c2 (diff)
downloadDoxygen-2cc3b18da39bde323c5739483e507a133e93ac22.zip
Doxygen-2cc3b18da39bde323c5739483e507a133e93ac22.tar.gz
Doxygen-2cc3b18da39bde323c5739483e507a133e93ac22.tar.bz2
Bug 731238 - Dead links in html documentation when using tabs for indentation in c++
-rw-r--r--src/util.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/util.cpp b/src/util.cpp
index fecf632..0113e62 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -1798,8 +1798,9 @@ nextChar:
)
)
{
+ if (c=='\t') c=' ';
if (c=='*' || c=='&' || c=='@' || c=='$')
- {
+ {
//uint rl=result.length();
uint rl=growBuf.getPos();
if ((rl>0 && (isId(growBuf.at(rl-1)) || growBuf.at(rl-1)=='>')) &&
@@ -1827,8 +1828,8 @@ nextChar:
}
}
}
- //printf("removeRedundantWhiteSpace(`%s')=`%s'\n",s.data(),result.data());
growBuf.addChar(0);
+ //printf("removeRedundantWhiteSpace(`%s')=`%s'\n",s.data(),growBuf.get());
//result.resize(resultPos);
return growBuf.get();
}