Permalink
Browse files

Bug 731238 - Dead links in html documentation when using tabs for ind…

…entation in c++
  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Jun 7, 2014
1 parent f4388dc commit 2cc3b18da39bde323c5739483e507a133e93ac22
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/util.cpp
@@ -1798,8 +1798,9 @@ QCString removeRedundantWhiteSpace(const QCString &s)
)
)
{
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 @@ QCString removeRedundantWhiteSpace(const QCString &s)
}
}
}
//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();
}

0 comments on commit 2cc3b18

Please sign in to comment.