[Po4a-commits] po4a/lib/Locale/Po4a Man.pm,1.42,1.43

Martin Quinson po4a-devel@lists.alioth.debian.org
Fri, 24 Sep 2004 14:03:30 +0000


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

Modified Files:
	Man.pm 
Log Message:
SH resets the wrapping (in addition to starting a section) [nekral]

Index: Man.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Man.pm,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- Man.pm	24 Sep 2004 13:58:57 -0000	1.42
+++ Man.pm	24 Sep 2004 14:03:27 -0000	1.43
@@ -687,8 +687,13 @@
 		}
 		$self->pushline($line."\n");
 		goto LINE;
-	    }		
-
+	    }
+	    
+	    # SH resets the wrapping (in addition to starting a section)
+	    if ($macro eq 'SH') {
+		$wrapped_mode='YES';
+	    }
+	    
 	    # Special case:
 	    #  .Dd => Indicates that this is a mdoc page
 	    if ($macro eq 'Dd') {