[AD] small makedoc change

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Does anyone have any objections to this patch?  It makes the
function name in the DVI and Postscript outputs use a typewriter
font (which I think looks better), and affects nothing else.

diff -u -r1.4 makedoc.c
--- makedoc.c   2001/02/18 01:20:19     1.4
+++ makedoc.c   2001/02/19 00:35:45
@@ -1435,7 +1435,7 @@
         }
         else {
            if ((line->flags & DEFINITION_FLAG) && (!continue_def))
-              fputs("@item ", f);
+              fputs("@item @t{", f);
 
            while (*p) {
               /* less-than HTML tokens */
@@ -1471,8 +1471,11 @@
 
            if (line->flags & CONTINUE_FLAG)
               fputs(" ", f);
-           else
+           else {
+              if (line->flags & DEFINITION_FLAG)
+                 fputs("}", f);
               fputs("\n", f);
+           }
         }
       }
       else if (line->flags & NODE_FLAG) {



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/