projects
/
lilypond.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a92f423
)
texi2html: Oops, for string comparison one should use eq, else it's always true
author
Reinhold Kainhofer
<reinhold@kainhofer.com>
Thu, 3 Apr 2008 09:08:32 +0000
(11:08 +0200)
committer
Reinhold Kainhofer
<reinhold@kainhofer.com>
Thu, 3 Apr 2008 09:08:32 +0000
(11:08 +0200)
lilypond-texi2html.init
patch
|
blob
|
history
diff --git
a/lilypond-texi2html.init
b/lilypond-texi2html.init
index 0a75b78f9fc68efc5f3878ded3860ec80c52294a..74624c5da1ce5204f238c6b1897a6bac18c78ad2 100644
(file)
--- 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