aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMax Horn2005-05-17 23:41:35 +0000
committerMax Horn2005-05-17 23:41:35 +0000
commite05da91674c27ffebdc34b7d7a1de1f24711aea5 (patch)
tree309314e0fa36e0667a7c2eab3a739742f7aa924c /tools
parente0ddf7480afe16ea82f7b925f0708720d4afc61e (diff)
downloadscummvm-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-xtools/credits.pl4
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";