[Po4a-commits] po4a/lib/Locale/Po4a Man.pm,1.33,1.34

Martin Quinson po4a-devel@lists.alioth.debian.org
Tue, 17 Aug 2004 00:34:46 +0000


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

Modified Files:
	Man.pm 
Log Message:
Ignore msgid consisting of only "\n"

Index: Man.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Man.pm,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- Man.pm	16 Aug 2004 00:12:19 -0000	1.33
+++ Man.pm	17 Aug 2004 00:34:43 -0000	1.34
@@ -408,6 +408,7 @@
     my $origstr=$str;
     
     return $str unless (defined $str) && length($str);
+    return $str if ($str eq "\n");
 
     $str=pre_trans($self,$str,$ref||$self->{ref},$type);
     # Translate this