]> git.donarmstrong.com Git - lilypond.git/commitdiff
texi2html: Fix top-node detection (so we can display the manual name instead of ...
authorReinhold Kainhofer <reinhold@kainhofer.com>
Mon, 11 Aug 2008 18:53:43 +0000 (20:53 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Mon, 11 Aug 2008 18:53:43 +0000 (20:53 +0200)
lilypond-texi2html.init

index 2483e0f20151695b02f68263b518822b267b8f44..d8b61463a44bfc8ce31c9e96fbbef773f12f063b 100644 (file)
@@ -360,7 +360,7 @@ sub lilypond_external_ref($$$$$$)
   # 3) In all other cases use the section name
   if ($cross_ref ne '') {
     $displaytext = $cross_ref;
-  } elsif (($section eq '') or ($displaytext eq 'Top')) {
+  } elsif (($section eq '') or ($section eq 'Top')) {
     $displaytext = $book;
   } else {
     $displaytext = $section;