From 7124f05f10769bae30b3b76cc9d89f104c9e2f0c Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 30 Jun 2010 12:27:55 +0000 Subject: Move term_hspan() calculation into the output devices, where it belongs. --- term.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'term.h') diff --git a/term.h b/term.h index df175e15..78577714 100644 --- a/term.h +++ b/term.h @@ -1,4 +1,4 @@ -/* $Id: term.h,v 1.69 2010/06/30 11:45:21 kristaps Exp $ */ +/* $Id: term.h,v 1.70 2010/06/30 12:27:55 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -103,6 +103,8 @@ struct termp { void (*endline)(struct termp *); void (*advance)(struct termp *, size_t); size_t (*width)(const struct termp *, char); + size_t (*hspan)(const struct termp *, + const struct roffsu *); const void *argf; /* arg for headf/footf */ union { struct termp_ps ps; -- cgit v1.2.3