aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/out.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-07-22 23:03:15 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-07-22 23:03:15 +0000
commit4dde5d7bbdceeec0032e163e7a8e8cac3233d659 (patch)
treec504c0e1f43a060e8f30fc4b2dcfcd6c62afc083 /out.c
parent2764eb0999f7c7e2835d85c1b9b44e5fa1f6f6c2 (diff)
downloadmandoc-4dde5d7bbdceeec0032e163e7a8e8cac3233d659.tar.gz
mandoc-4dde5d7bbdceeec0032e163e7a8e8cac3233d659.tar.zst
mandoc-4dde5d7bbdceeec0032e163e7a8e8cac3233d659.zip
Added `in' macro support for -man -Tascii. This is not yet supported in
-Thtml (I'm surprised to note that neither is LITERAL mode).
Diffstat (limited to 'out.c')
-rw-r--r--out.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/out.c b/out.c
index d501aecc..93f70add 100644
--- a/out.c
+++ b/out.c
@@ -1,4 +1,4 @@
-/* $Id: out.c,v 1.22 2010/07/22 14:03:50 kristaps Exp $ */
+/* $Id: out.c,v 1.23 2010/07/22 23:03:15 kristaps Exp $ */
/*
* Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -116,6 +116,7 @@ a2roffsu(const char *src, struct roffsu *dst, enum roffscale def)
return(0);
}
+ /* FIXME: do this in the caller. */
if ((dst->scale = atof(buf)) < 0)
dst->scale = 0;
dst->unit = unit;