[FFmpeg-devel] [PATCH 06/19] Make texi2pod.pl use by default the symbol "*" for @itemized list.

Stefano Sabatini stefano.sabatini-lala
Tue May 4 19:52:05 CEST 2010


This is consistent with texinfo docs:
"If you don't specify a mark command, the default is `@bullet'."
---
 doc/texi2pod.pl |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/texi2pod.pl b/doc/texi2pod.pl
index c414ffc..62719f3 100755
--- a/doc/texi2pod.pl
+++ b/doc/texi2pod.pl
@@ -241,10 +241,10 @@ while(<$inf>) {
         and $_ = "\n=head3 $1\n";
 
     # Block command handlers:
-    /^\@itemize\s+(\@[a-z]+|\*|-)/ and do {
+    /^\@itemize(\s+(\@[a-z]+|\*|-))?/ and do {
         push @endwstack, $endw;
         push @icstack, $ic;
-        $ic = $1;
+        $ic = $2 ? $2 : "*";
         $_ = "\n=over 4\n";
         $endw = "itemize";
     };
-- 
1.7.0




More information about the ffmpeg-devel mailing list