aboutsummaryrefslogtreecommitdiff
path: root/tbl_html.c
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2016-01-15 23:08:59 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2016-01-15 23:08:59 +0000
commitca0834218adf25b9cf44601400c1c4a8600d9f5f (patch)
treed03ac3be5c40f1897b2b6802fb3b1a2b0c4e7cfe /tbl_html.c
parent0ae9da150d599305f27b737214acfa3dc181d0e8 (diff)
downloadsrc-ca0834218adf25b9cf44601400c1c4a8600d9f5f.tar.gz
src-ca0834218adf25b9cf44601400c1c4a8600d9f5f.zip
Notes
Diffstat (limited to 'tbl_html.c')
-rw-r--r--tbl_html.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tbl_html.c b/tbl_html.c
index e7940381d203..51c43286cbeb 100644
--- a/tbl_html.c
+++ b/tbl_html.c
@@ -1,6 +1,7 @@
-/* $Id: tbl_html.c,v 1.16 2015/01/30 17:32:16 schwarze Exp $ */
+/* $Id: tbl_html.c,v 1.18 2015/10/12 00:08:16 schwarze Exp $ */
/*
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
+ * Copyright (c) 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -36,14 +37,14 @@ static size_t
html_tbl_len(size_t sz, void *arg)
{
- return(sz);
+ return sz;
}
static size_t
html_tbl_strlen(const char *p, void *arg)
{
- return(strlen(p));
+ return strlen(p);
}
static void
@@ -107,7 +108,6 @@ print_tbl(struct html *h, const struct tbl_span *sp)
switch (sp->pos) {
case TBL_SPAN_HORIZ:
- /* FALLTHROUGH */
case TBL_SPAN_DHORIZ:
PAIR_INIT(&tag, ATTR_COLSPAN, "0");
print_otag(h, TAG_TD, 1, &tag);