[Po4a-commits] "po4a/lib/Locale/Po4a Man.pm,1.194,1.195"

Nicolas FRANCOIS nekral-guest at alioth.debian.org
Wed Feb 14 23:06:35 CET 2007


Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory alioth:/tmp/cvs-serv11286/lib/Locale/Po4a

Modified Files:
	Man.pm 
Log Message:
Try to always provide a reference to do_fonts.


Index: Man.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Man.pm,v
retrieving revision 1.194
retrieving revision 1.195
diff -u -d -r1.194 -r1.195
--- Man.pm	14 Feb 2007 21:56:55 -0000	1.194
+++ Man.pm	14 Feb 2007 22:06:32 -0000	1.195
@@ -1078,7 +1078,7 @@
     # Do not translate the strings that only consist of fonts, spaces and
     # \&. This is useful because we introduced \& in shiftline.
     if ($str =~ m/^($FONT_RE|\s|\\&)*$/s) {
-        do_fonts($str, $ref);
+        do_fonts($str, $ref||$self->{ref});
         return $str;
     }
 




More information about the Po4a-commits mailing list