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

Diff for /mandoc/Attic/action.c between version 1.47 and 1.48

version 1.47, 2009/03/21 09:42:07 version 1.48, 2009/03/21 09:48:29
Line 405  post_dt(POST_ARGS)
Line 405  post_dt(POST_ARGS)
          *       arch = NULL           *       arch = NULL
          */           */
   
         if ((cp = mdoc_a2msec(n->string))) {          cp = mdoc_a2msec(n->string);
           if (cp) {
                 m->meta.vol = xstrdup(cp);                  m->meta.vol = xstrdup(cp);
                 errno = 0;                  errno = 0;
                 lval = strtol(n->string, &ep, 10);                  lval = strtol(n->string, &ep, 10);
Line 424  post_dt(POST_ARGS)
Line 425  post_dt(POST_ARGS)
          *               VOL           *               VOL
          */           */
   
         if ((cp = mdoc_a2vol(n->string))) {          cp = mdoc_a2vol(n->string);
           if (cp) {
                 free(m->meta.vol);                  free(m->meta.vol);
                 m->meta.vol = xstrdup(cp);                  m->meta.vol = xstrdup(cp);
                 n = n->next;                  n = n->next;
Line 489  post_bl_tagwidth(struct mdoc *m)
Line 491  post_bl_tagwidth(struct mdoc *m)
          * width if a macro.           * width if a macro.
          */           */
   
         if ((n = n->head->child)) {          n = n->head->child;
           if (n) {
                 if (MDOC_TEXT != n->type) {                  if (MDOC_TEXT != n->type) {
                         if (0 == (sz = (int)mdoc_macro2len(n->tok)))                          if (0 == (sz = (int)mdoc_macro2len(n->tok)))
                                 sz = -1;                                  sz = -1;

Legend:
Removed from v.1.47  
changed lines
  Added in v.1.48

CVSweb