updateeeeeeeeeeeeee

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1551 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
rainwater 2002-11-01 22:55:47 +00:00
parent 2477a56e48
commit 14ce36b1f3
2 changed files with 2 additions and 0 deletions

View file

@ -1075,6 +1075,7 @@ xhtml_add_contents_entry(FILE * fp, xhtmlsection * section, int limit)
}
fprintf(fp, "<li>");
fprintf(fp, "<a href=\"%s#%s\">", section->file->filename,section->fragment);
if (section->para->type==para_Chapter||section->para->type==para_Appendix) fprintf(fp, "<b>");
if ((section->para->type!=para_Heading&&section->para->type!=para_Subsect)||(section->para->kwtext&&!section->para->words)) {
xhtml_para(fp, section->para->kwtext);
if (section->para->words)
@ -1083,6 +1084,7 @@ xhtml_add_contents_entry(FILE * fp, xhtmlsection * section, int limit)
if (section->para->words) {
xhtml_para(fp, section->para->words);
}
if (section->para->type==para_Chapter||section->para->type==para_Appendix) fprintf(fp, "</b>");
fprintf(fp, "</a></li>\n");
return TRUE;
}