Permalink
Browse files

Bug 765002 - `@addindex`entries fail to link to the exact location in…

… Compiled HTML Help.
  • Loading branch information...
c-lipka committed Apr 26, 2016
1 parent a56e454 commit 8dea6e11faf3969c3b6b17b700533f43c9ca73f8
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/htmlhelp.cpp
@@ -190,7 +190,7 @@ void HtmlHelpIndex::writeFields(FTextStream &t)
{ // finish old list at level 2
if (level2Started) t << " </UL>" << endl;
level2Started=FALSE;
// <Antony>
// Added this code so that an item with only one subitem is written
// without any subitem.
@@ -214,7 +214,7 @@ void HtmlHelpIndex::writeFields(FTextStream &t)
if (level2.isEmpty())
{
t << " <LI><OBJECT type=\"text/sitemap\">";
t << "<param name=\"Local\" value=\"" << field2URL(f,TRUE);
t << "<param name=\"Local\" value=\"" << field2URL(f,FALSE);
t << "\">";
t << "<param name=\"Name\" value=\"" << m_help->recode(level1) << "\">"
"</OBJECT>\n";

0 comments on commit 8dea6e1

Please sign in to comment.