[Po4a-commits] "po4a/lib/Locale/Po4a Po.pm,1.62,1.63"

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Fri May 5 22:01:46 UTC 2006


Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv30136/lib/Locale/Po4a

Modified Files:
	Po.pm 
Log Message:
no-wrap messages ending with spaces were not handled correctly by quote
(e.g. in the load.1 man page). The ending spaces were doubled.


Index: Po.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Po.pm,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- Po.pm	3 Apr 2006 22:03:53 -0000	1.62
+++ Po.pm	5 May 2006 22:01:44 -0000	1.63
@@ -1275,7 +1275,7 @@
 	$res.="$line\n";
     }
     # Restore the original trailing spaces
-    chomp $res;
+    $res =~ s/\s+$//s;
     if ($text =~ m/(\s+)$/s) {
 	$res .= $1;
     }




More information about the Po4a-commits mailing list