]> git.donarmstrong.com Git - lilypond.git/commitdiff
texi2html: Fix variable name mixup, remove wrong local variable
authorReinhold Kainhofer <reinhold@kainhofer.com>
Sun, 10 Aug 2008 19:11:33 +0000 (21:11 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Sun, 10 Aug 2008 19:11:33 +0000 (21:11 +0200)
lilypond-texi2html.init

index 5c3589c13cde02c58312783b16e852e472d8ba7a..98d4f60fd3a79a8475dfbeb4eb3764e88b817a1e 100644 (file)
@@ -411,7 +411,7 @@ sub lilypond_external_href($$$)
 {
   my $node = shift;
   my $node_id = shift;
-  my $node_xhtml_id = shift;
+  my $node_hxmlt_id = shift;
   my $file = shift;
   my $original_func = \&t2h_default_external_href;
 
@@ -437,7 +437,7 @@ sub lilypond_external_href($$$)
     my $section_name_map = $translated_books{$map_name};
     my $node_text = main::remove_texi($node);
     if (defined($section_name_map->{$node_text})) {
-      (my $node_id, $node_hxmlt_id) = @{$section_name_map->{$node_text}};
+      ($node_id, $node_hxmlt_id) = @{$section_name_map->{$node_text}};
     } else {
       print STDERR "Unable to find key '$node_text' in section_name_map for book $map_name\n";
     }