Skip to content

Commit

Permalink
Bug 765002 - @addindexentries fail to link to the exact location in…
Browse files Browse the repository at this point in the history
… Compiled HTML Help.
  • Loading branch information
c-lipka committed Apr 26, 2016
1 parent a56e454 commit 8dea6e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/htmlhelp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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";
Expand Down

0 comments on commit 8dea6e1

Please sign in to comment.