diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-18 19:03:36 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-18 19:03:36 +0000 |
commit | aae27a21d3c4cec6e6fabd12fb23027c5ef5f244 (patch) | |
tree | 7506c9be8ca503ee5629e83925232b4c93a140e7 /term.h | |
parent | 8b811fac9808f46457e2e037bbd37d0e07ea798d (diff) | |
download | mandoc-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.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |