[BACK]Return to chars.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/chars.c between version 1.30 and 1.31

version 1.30, 2014/10/26 17:11:18 version 1.31, 2014/10/26 18:06:28
Line 15 
Line 15 
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF   * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.   * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */   */
   #include <sys/types.h>
   
 #include <assert.h>  #include <assert.h>
 #include <ctype.h>  #include <ctype.h>
 #include <stdlib.h>  #include <stdlib.h>
Line 143 
Line 145 
   
         *rsz = strlen(ln->ascii);          *rsz = strlen(ln->ascii);
         return(ln->ascii);          return(ln->ascii);
   }
   
   const char *
   mchars_uc2str(int uc)
   {
           int      i;
   
           for (i = 0; i < LINES_MAX; i++)
                   if (uc == lines[i].unicode)
                           return(lines[i].ascii);
           return("<?>");
 }  }
   
 static const struct ln *  static const struct ln *

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31