From 49b4ab103d61add6e7a05c5b74d41e0617129f73 Mon Sep 17 00:00:00 2001 From: Reinhold Kainhofer Date: Thu, 3 Apr 2008 11:08:32 +0200 Subject: [PATCH] texi2html: Oops, for string comparison one should use eq, else it's always true --- lilypond-texi2html.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lilypond-texi2html.init b/lilypond-texi2html.init index 0a75b78f9f..74624c5da1 100644 --- a/lilypond-texi2html.init +++ b/lilypond-texi2html.init @@ -34,7 +34,7 @@ sub texinfo_file_name($) my @chars = split(//, $str); my $str = ''; foreach my $char (@chars) { - if ( $char == ' ' ) { # space -> '-' + if ( $char eq ' ' ) { # space -> '-' $str .= '-'; } elsif ( ('0' le $char and $char le '9' ) or ('A' le $char and $char le 'Z' ) or -- 2.39.2