diff options
author | Timo Sirainen <cras@irssi.org> | 2001-03-04 00:13:06 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-03-04 00:13:06 +0000 |
commit | 5def50c7f600f5031468435ce432844731aef0f7 (patch) | |
tree | ed981f5c05bf0eadafd345f230717068494d4420 /syntax.pl | |
parent | c5cccfcdaa3e75c378b14086679e54a781b5b8c6 (diff) | |
download | irssi-5def50c7f600f5031468435ce432844731aef0f7.zip |
when joining lines together, put space between them..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1331 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'syntax.pl')
-rwxr-xr-x | syntax.pl | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -33,7 +33,11 @@ while (<docs/help/in/*.in>) { $SYNTAX =~ s/%\|$//; $DATARIVI = $SYNTAX; } elsif ($DATARIVI =~ /^\S+/) { - chomp $DATARIVI if ($data[$count+1] =~ /^\S+/); + if ($data[$count+1] =~ /^\S+/) { + chomp $DATARIVI; + $DATARIVI =~ s/ *$//g; + $DATARIVI .= " "; + } } else { $DATARIVI =~ s/^\t/ / while ($DATARIVI =~ /^\t/); } |