From 25acf71d995f135e72a64316730e625a3f7c1e6c Mon Sep 17 00:00:00 2001 From: simon Date: Tue, 30 Mar 2004 19:49:42 +0000 Subject: [PATCH] The navigation links now contain a link to the index page. git-svn-id: svn://svn.tartarus.org/sgt/halibut@4002 cda61777-01e9-0310-a592-d414129be87e --- bk_xhtml.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bk_xhtml.c b/bk_xhtml.c index 745cce5..4cbe1d6 100644 --- a/bk_xhtml.c +++ b/bk_xhtml.c @@ -730,6 +730,11 @@ static void xhtml_donavlinks(FILE *fp, xhtmlfile *file) fprintf(fp, "Previous | ", xhtml_last_file->filename); } fprintf(fp, "Contents | "); + if (file == NULL) { + fprintf(fp, "Index | "); + } else { + fprintf(fp, "Index | ", xhtml_index_filename); + } if (file != NULL) { /* otherwise we're doing nav links for the index */ if (xhtml_next_file==NULL) xhtml_next_file = file->child; -- 2.11.0