[BACK]Return to parse.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / docbook2mdoc

Diff for /docbook2mdoc/parse.c between version 1.57 and 1.58

version 1.57, 2019/05/01 17:20:47 version 1.58, 2019/05/02 04:09:26
Line 354  pnode_closetext(struct parse *p, int check_last_word)
Line 354  pnode_closetext(struct parse *p, int check_last_word)
   
         while (cp > n->b && !isspace((unsigned char)cp[-1]))          while (cp > n->b && !isspace((unsigned char)cp[-1]))
                 cp--;                  cp--;
         if (cp == n->b)  
                 return;  
   
         last_word = cp;          last_word = cp;
         while (cp > n->b && isspace((unsigned char)cp[-1]))          while (cp > n->b && isspace((unsigned char)cp[-1]))
             *--cp = '\0';                  cp--;
           if (cp == n->b)
                   return;
           *cp = '\0';
   
         /* Move the last word into its own node, for use with .Pf. */          /* Move the last word into its own node, for use with .Pf. */
   

Legend:
Removed from v.1.57  
changed lines
  Added in v.1.58

CVSweb