View | Details | Raw Unified
Collapse All | Expand All

(-) src/gnu/usr.bin/texinfo/makeinfo/html.c (-3 / +3 lines)
 Lines 1-5    Link Here 
/* html.c -- html-related utilities.
/* html.c -- html-related utilities.
   $Id: html.c,v 1.1.1.3 2006/07/17 16:03:46 espie Exp $
   $Id: html.c,v 1.2 2006/07/17 22:29:29 espie Exp $
   Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software
   Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software
   Foundation, Inc.
   Foundation, Inc.
 Lines 445-451    Link Here 
    return 0;
    return 0;
  /* Find the end of the previous tag.  */
  /* Find the end of the previous tag.  */
  while (output_paragraph[check_position-1] != '>' && check_position > 0)
  while (check_position > 0 && output_paragraph[check_position-1] != '>')
    check_position--;
    check_position--;
  /* Save stuff between tag's end to output_paragraph's end.  */
  /* Save stuff between tag's end to output_paragraph's end.  */
 Lines 462-468    Link Here 
    }
    }
  /* Find the start of the previous tag.  */
  /* Find the start of the previous tag.  */
  while (output_paragraph[check_position-1] != '<' && check_position > 0)
  while (check_position > 0 && output_paragraph[check_position-1] != '<')
    check_position--;
    check_position--;
  /* Check to see if this is the tag.  */
  /* Check to see if this is the tag.  */