diff options
author | uqs <uqs@FreeBSD.org> | 2014-01-31 19:59:03 +0000 |
---|---|---|
committer | uqs <uqs@FreeBSD.org> | 2014-01-31 19:59:03 +0000 |
commit | 7ae17de732546145e4a582d503a54b9870ada39c (patch) | |
tree | 23b6a81a1df09aafea64657d4d56bc50e677df33 /chars.c | |
parent | c2dfbbd38125b2ba3608eb48ca3b5e2e23f819df (diff) | |
download | FreeBSD-src-7ae17de732546145e4a582d503a54b9870ada39c.zip FreeBSD-src-7ae17de732546145e4a582d503a54b9870ada39c.tar.gz |
Import mdocml version 1.12.3
Diffstat (limited to 'chars.c')
-rw-r--r-- | chars.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: chars.c,v 1.52 2011/11/08 00:15:23 kristaps Exp $ */ +/* $Id: chars.c,v 1.54 2013/06/20 22:39:30 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2011 Ingo Schwarze <schwarze@openbsd.org> @@ -37,7 +37,7 @@ struct ln { int unicode; }; -#define LINES_MAX 328 +#define LINES_MAX 329 #define CHAR(in, ch, code) \ { NULL, (in), (ch), (code) }, @@ -77,7 +77,7 @@ mchars_alloc(void) */ tab = mandoc_malloc(sizeof(struct mchars)); - htab = mandoc_calloc(PRINT_HI - PRINT_LO + 1, sizeof(struct ln **)); + htab = mandoc_calloc(PRINT_HI - PRINT_LO + 1, sizeof(struct ln *)); for (i = 0; i < LINES_MAX; i++) { hash = (int)lines[i].code[0] - PRINT_LO; |