=================================================================== RCS file: /cvs/mandoc/chars.c,v retrieving revision 1.14 retrieving revision 1.19 diff -u -p -r1.14 -r1.19 --- mandoc/chars.c 2010/01/01 17:14:26 1.14 +++ mandoc/chars.c 2010/06/01 11:47:28 1.19 @@ -1,4 +1,4 @@ -/* $Id: chars.c,v 1.14 2010/01/01 17:14:26 kristaps Exp $ */ +/* $Id: chars.c,v 1.19 2010/06/01 11:47:28 kristaps Exp $ */ /* * Copyright (c) 2009 Kristaps Dzonsons * @@ -23,6 +23,7 @@ #include #include +#include "mandoc.h" #include "chars.h" #define PRINT_HI 126 @@ -42,7 +43,7 @@ struct ln { #define CHARS_BOTH (CHARS_CHAR | CHARS_STRING) }; -#define LINES_MAX 351 +#define LINES_MAX 370 #define CHAR(w, x, y, z, a, b) \ { NULL, (w), (y), (a), (x), (z), (b), CHARS_CHAR }, @@ -165,18 +166,6 @@ find(struct tbl *tab, const char *p, size_t sz, size_t if (NULL == (pp = htab[hash])) return(NULL); - - if (NULL == pp->next) { - if ( ! match(pp, p, sz, type)) - return(NULL); - - if (CHARS_HTML == tab->type) { - *rsz = pp->htmlsz; - return(pp->html); - } - *rsz = pp->asciisz; - return(pp->ascii); - } for (prev = NULL; pp; pp = pp->next) { if ( ! match(pp, p, sz, type)) {