diff options
| author | Max Horn | 2005-05-17 23:41:35 +0000 |
|---|---|---|
| committer | Max Horn | 2005-05-17 23:41:35 +0000 |
| commit | e05da91674c27ffebdc34b7d7a1de1f24711aea5 (patch) | |
| tree | 309314e0fa36e0667a7c2eab3a739742f7aa924c /tools | |
| parent | e0ddf7480afe16ea82f7b925f0708720d4afc61e (diff) | |
| download | scummvm-rg350-e05da91674c27ffebdc34b7d7a1de1f24711aea5.tar.gz scummvm-rg350-e05da91674c27ffebdc34b7d7a1de1f24711aea5.tar.bz2 scummvm-rg350-e05da91674c27ffebdc34b7d7a1de1f24711aea5.zip | |
Added automatic word wrapping to the about scroller
svn-id: r18145
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/credits.pl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/credits.pl b/tools/credits.pl index fabc8c83fd..eaea3c4f07 100755 --- a/tools/credits.pl +++ b/tools/credits.pl @@ -297,10 +297,8 @@ sub add_paragraph { } elsif ($mode eq "CPP") { my $line_start = '"\\\\L\\\\c0""'; my $line_end = '",'; - $Text::Wrap::separator = $line_end . "\n" . $line_start; - print $line_start . wrap("", "", $text) . $line_end . "\n"; + print $line_start . $text . $line_end . "\n"; print $line_start . $line_end . "\n"; - $Text::Wrap::separator = "\n"; } elsif ($mode eq "XML") { print " <row><entry namest='start' nameend='job'>" . $text . "</entry></row>\n"; print " <row><entry namest='start' nameend='job'> </entry></row>\n\n"; |
