Skip to content

Commit

Permalink
increase the size of l when result is modified
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Loriot committed Jan 31, 2015
1 parent 025ed8d commit dd0d738
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7676,8 +7676,12 @@ QCString externalRef(const QCString &relPath,const QCString &ref,bool href)
if (!relPath.isEmpty() && l>0 && result.at(0)=='.')
{ // relative path -> prepend relPath.
result.prepend(relPath);
l+=relPath.length();
}
if (!href){
result.prepend("doxygen=\""+ref+":");
l+=10+ref.length();
}
if (!href) result.prepend("doxygen=\""+ref+":");
if (l>0 && result.at(l-1)!='/') result+='/';
if (!href) result.append("\" ");
}
Expand Down

0 comments on commit dd0d738

Please sign in to comment.