summaryrefslogtreecommitdiffstatshomepage
path: root/term.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-10-18 19:03:36 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-10-18 19:03:36 +0000
commitaae27a21d3c4cec6e6fabd12fb23027c5ef5f244 (patch)
tree7506c9be8ca503ee5629e83925232b4c93a140e7 /term.h
parent8b811fac9808f46457e2e037bbd37d0e07ea798d (diff)
downloadmandoc-aae27a21d3c4cec6e6fabd12fb23027c5ef5f244.tar.gz
mandoc-aae27a21d3c4cec6e6fabd12fb23027c5ef5f244.tar.zst
mandoc-aae27a21d3c4cec6e6fabd12fb23027c5ef5f244.zip
Made sure devices and formats recognise that -man and -mdoc have different syntax for scaling widths: -mdoc assumes no unit means that the value is a string literal while -man instead uses the default vertical/horizontal scale.
Diffstat (limited to 'term.h')
-rw-r--r--term.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/term.h b/term.h
index ee761bd8..f0d82016 100644
--- a/term.h
+++ b/term.h
@@ -1,4 +1,4 @@
-/* $Id: term.h,v 1.48 2009/10/18 13:34:17 kristaps Exp $ */
+/* $Id: term.h,v 1.49 2009/10/18 19:03:37 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -53,8 +53,8 @@ void term_vspace(struct termp *);
void term_word(struct termp *, const char *);
void term_flushln(struct termp *);
-int a2width(const char *);
-int a2height(const char *);
+size_t term_hspan(const struct roffsu *);
+size_t term_vspan(const struct roffsu *);
__END_DECLS