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

Diff for /mandoc/out.c between version 1.14 and 1.17

version 1.14, 2010/04/07 11:25:38 version 1.17, 2010/06/25 19:50:23
Line 1 
Line 1 
 /*      $Id$ */  /*      $Id$ */
 /*  /*
  * Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>   * Copyright (c) 2009 Kristaps Dzonsons <kristaps@bsd.lv>
  *   *
  * Permission to use, copy, modify, and distribute this software for any   * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above   * purpose with or without fee is hereby granted, provided that the above
Line 139  a2roffsu(const char *src, struct roffsu *dst, enum rof
Line 139  a2roffsu(const char *src, struct roffsu *dst, enum rof
         if ((dst->scale = atof(buf)) < 0)          if ((dst->scale = atof(buf)) < 0)
                 dst->scale = 0;                  dst->scale = 0;
         dst->unit = unit;          dst->unit = unit;
         dst->pt = hasd;  
   
         return(1);          return(1);
 }  }
   
Line 197  int
Line 195  int
 a2roffdeco(enum roffdeco *d,  a2roffdeco(enum roffdeco *d,
                 const char **word, size_t *sz)                  const char **word, size_t *sz)
 {  {
         int              j, offs, term, lim;          int              j, term, lim;
         char             set;          char             set;
         const char      *wp, *sp;          const char      *wp, *sp;
   
         *d = DECO_NONE;          *d = DECO_NONE;
         wp = *word;          wp = *word;
         offs = 0;  
   
         switch ((set = *wp)) {          switch ((set = *wp)) {
         case ('\0'):          case ('\0'):

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.17

CVSweb