[Scummvm-cvs-logs] SF.net SVN: scummvm:[45549] scummvm/trunk/tools/credits.pl

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Fri Oct 30 21:44:12 CET 2009


Revision: 45549
          http://scummvm.svn.sourceforge.net/scummvm/?rev=45549&view=rev
Author:   lordhoto
Date:     2009-10-30 20:44:11 +0000 (Fri, 30 Oct 2009)

Log Message:
-----------
Fixes for TEX and RTF output of "add_paragraph".

Modified Paths:
--------------
    scummvm/trunk/tools/credits.pl

Modified: scummvm/trunk/tools/credits.pl
===================================================================
--- scummvm/trunk/tools/credits.pl	2009-10-30 20:33:47 UTC (rev 45548)
+++ scummvm/trunk/tools/credits.pl	2009-10-30 20:44:11 UTC (rev 45549)
@@ -433,10 +433,12 @@
 		print wrap($tab, $tab, html_entities_to_ascii($text))."\n";
 		print "\n";
 	} elsif ($mode eq "TEX") {
+		$text = html_entities_to_tex($text);
 		print '\item' . "\n";
 		print $text;
 		print "\n";
 	} elsif ($mode eq "RTF") {
+		$text = html_entities_to_rtf($text);
 		# Center text
 		print '\pard\qc' . "\n";
 		print "\\\n";


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list