texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

texinfo/makeinfo node.c,1.10,1.11


From: dirt
Subject: texinfo/makeinfo node.c,1.10,1.11
Date: Sat, 10 Jan 2004 15:02:59 +0100

Update of /cvsroot/texinfo/texinfo/makeinfo
In directory sheep:/tmp/cvs-serv27116/makeinfo

Modified Files:
        node.c 
Log Message:
2004-01-10  Simon Josefsson  <address@hidden>

        * makeinfo/node.c (cm_node): Only print ",\n" at correct places.



Index: node.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/makeinfo/node.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** node.c      8 Jan 2004 19:15:49 -0000       1.10
--- node.c      10 Jan 2004 14:02:57 -0000      1.11
***************
*** 956,964 ****
              
                free (tem);
              }
            if (prev)
              {
                tem = expansion (prev, 0);
-             add_word (",\n");
              add_word (_("Previous:"));
                add_word ("&nbsp;");
--- 956,966 ----
              
                free (tem);
+ 
+             if (prev || up)
+               add_word (",\n");
              }
            if (prev)
              {
                tem = expansion (prev, 0);
              add_word (_("Previous:"));
                add_word ("&nbsp;");
***************
*** 968,976 ****
              add_word_args ("\">%s</a>", tem);
                free (tem);
              }
            if (up)
              {
                tem = expansion (up, 0);
-             add_word (",\n");
              add_word (_("Up:"));
                add_word ("&nbsp;");
--- 970,980 ----
              add_word_args ("\">%s</a>", tem);
                free (tem);
+ 
+             if (up)
+               add_word (",\n");
              }
            if (up)
              {
                tem = expansion (up, 0);
              add_word (_("Up:"));
                add_word ("&nbsp;");



reply via email to

[Prev in Thread] Current Thread [Next in Thread]