texinfo-commits
[Top][All Lists]
Advanced

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

texinfo/makeinfo node.c,1.11,1.12


From: dirt
Subject: texinfo/makeinfo node.c,1.11,1.12
Date: Tue, 13 Jan 2004 00:08:22 +0100

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

Modified Files:
        node.c 
Log Message:
2004-01-13  Alper Ersoy  <address@hidden>

        * makeinfo/node.c (cm_node): fixed prev, next, up nodes defaulting
        code to not make use of @menus after @bye.



Index: node.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/makeinfo/node.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** node.c      10 Jan 2004 14:02:57 -0000      1.11
--- node.c      12 Jan 2004 23:08:20 -0000      1.12
***************
*** 693,696 ****
--- 693,698 ----
                int orig_offset, orig_size;
  
+               int bye_offset = search_forward ("address@hidden", 
input_text_offset);
+ 
                /* No matter what, make this file point back at `(dir)'. */
                free (up);
***************
*** 708,711 ****
--- 710,714 ----
                    input_text_offset = search_forward ("address@hidden", 
orig_offset);
                    if (input_text_offset > -1
+                       && (bye_offset > -1 && input_text_offset < bye_offset)
                        && cr_or_whitespace (input_text[input_text_offset + 6]))
                      {



reply via email to

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