From aae27a21d3c4cec6e6fabd12fb23027c5ef5f244 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sun, 18 Oct 2009 19:03:36 +0000 Subject: 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. --- term.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'term.h') 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 * @@ -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 -- cgit v1.2.3