texinfo-commits
[Top][All Lists]
Advanced

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

texinfo/makeinfo makeinfo.c,1.19,1.20


From: dirt
Subject: texinfo/makeinfo makeinfo.c,1.19,1.20
Date: Wed, 31 Dec 2003 10:42:43 +0100

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

Modified Files:
        makeinfo.c 
Log Message:
2003-12-31  Alper Ersoy  <address@hidden>

        * makeinfo/makeinfo.c (handle_menu_entry): for HTML, append colon only
        if there is a description following the menu item.



Index: makeinfo.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/makeinfo/makeinfo.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** makeinfo.c  2003/12/31 09:14:20     1.19
--- makeinfo.c  2003/12/31 09:42:41     1.20
***************
*** 1910,1914 ****
          }
        input_text_offset++;      /* discard the second colon or the period */
!       add_word (": ");
      }
    else if (xml && tem)
--- 1910,1923 ----
          }
        input_text_offset++;      /* discard the second colon or the period */
! 
!       /* Insert a colon only if there is a description of this menu item.  */
!       {
!         int save_input_text_offset = input_text_offset;
!         char *test_string;
!         get_rest_of_line (0, &test_string);
!         if (strlen (test_string) > 0)
!           add_word (": ");
!         input_text_offset = save_input_text_offset;
!       }
      }
    else if (xml && tem)



reply via email to

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