summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhlabs <rhlabs>1998-03-11 03:17:51 +0000
committerrhlabs <rhlabs>1998-03-11 03:17:51 +0000
commit439a352e8f0ae09c5821f8b69c03467059c547a9 (patch)
treea1a3cc8acd8842bd37b317108d326128a57abd8f
parent38c87d202aa7c53770f2dcd8502f8a79ea75fbcf (diff)
downloadnautilus-439a352e8f0ae09c5821f8b69c03467059c547a9.tar.gz
Use magic URLs for section links.
-Marc
-rw-r--r--components/help/converters/gnome-man2html2/gnome-man2html.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/components/help/converters/gnome-man2html2/gnome-man2html.c b/components/help/converters/gnome-man2html2/gnome-man2html.c
index 93906a1a7..3a116f41c 100644
--- a/components/help/converters/gnome-man2html2/gnome-man2html.c
+++ b/components/help/converters/gnome-man2html2/gnome-man2html.c
@@ -2550,8 +2550,16 @@ static char
scan_troff(wordlist[2],
1, NULL);
} else out_html(")");
- out_html("<BR><A HREF=\"#index\">"
- "Index</A>\n");
+
+ out_html("\n");
+ printf("<BR><A HREF=\"");
+ if (URLbasename)
+ printf(URLbasename);
+ printf("#index\">Index</A>\n");
+#if 0
+ out_html("<BR><A HREF=\"");
+ out_html("#index\">Index</A>\n");
+#endif
*sl='\n';
#if 0
fputs("<BR><A HREF=\""