[Po4a-commits] po4a/lib/Locale/Po4a Man.pm,1.59,1.60
Nicolas FRAN??OIS
po4a-devel@lists.alioth.debian.org
Fri, 12 Nov 2004 12:37:13 +0000
Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv19076/lib/Locale/Po4a
Modified Files:
Man.pm
Log Message:
Fix a minor issue regarding the no-wrap flag.
Index: Man.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Man.pm,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -d -r1.59 -r1.60
--- Man.pm 12 Nov 2004 12:29:18 -0000 1.59
+++ Man.pm 12 Nov 2004 12:37:11 -0000 1.60
@@ -664,7 +664,7 @@
} elsif ($line =~ /^( +)([^.].*)/) {
# Not a macro, but not a wrapped paragraph either
- $wrapped_mode='NO';
+ $wrapped_mode = $wrapped_mode eq 'YES' ? 'NO' : $wrapped_mode;
$paragraph .= $line."\n";
} elsif ($line =~ /^([^.].*)/) {
# special case: the line is entirely a comment, keep the