Update of /cvsroot/mahogany/M/doc/HtmlHlp
In directory sc8-pr-cvs1:/tmp/cvs-serv13095/doc/HtmlHlp

Modified Files:
        makehhc.pl 
Log Message:
fixed bug introduced by last check in

Index: makehhc.pl
===================================================================
RCS file: /cvsroot/mahogany/M/doc/HtmlHlp/makehhc.pl,v
retrieving revision 1.5
retrieving revision 1.6
diff -b -u -2 -r1.5 -r1.6
--- makehhc.pl  7 Jan 2004 13:17:27 -0000       1.5
+++ makehhc.pl  7 Jan 2004 13:48:26 -0000       1.6
@@ -58,10 +58,10 @@
                                # or the file name with the anchor but we always need 
the
                                # latter for HTML Help Workshop to work
-                               my $link = $1;
-                               $link = "Manual.html$link" unless $link =~ 
/^Manual.html#/;
+                               my ($link, $value) = ($1, $2);
+                               $link = "Manual.html$link" unless $link =~ 
/^Manual.html/;
                                print OUT_HHC <<EOF
 \t<LI> <OBJECT type=\"text/sitemap\">
 <param name=\"Local\" value=\"$link\">
-<param name=\"Name\" value=\"$2\">
+<param name=\"Name\" value=\"$value\">
 </OBJECT>
 EOF



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to