aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/term.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-30 12:30:36 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-30 12:30:36 +0000
commitdfaa88b92e98290528c2dec012e0186375a89b4a (patch)
tree71e27b9400b74e13840cb9cf6a10b85b20f67e7f /term.h
parent7124f05f10769bae30b3b76cc9d89f104c9e2f0c (diff)
downloadmandoc-dfaa88b92e98290528c2dec012e0186375a89b4a.tar.gz
mandoc-dfaa88b92e98290528c2dec012e0186375a89b4a.tar.zst
mandoc-dfaa88b92e98290528c2dec012e0186375a89b4a.zip
Pushed normalisation of scaling units into term_hspan().
Diffstat (limited to 'term.h')
-rw-r--r--term.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/term.h b/term.h
index 78577714..4c8e34ed 100644
--- a/term.h
+++ b/term.h
@@ -1,4 +1,4 @@
-/* $Id: term.h,v 1.70 2010/06/30 12:27:55 kristaps Exp $ */
+/* $Id: term.h,v 1.71 2010/06/30 12:30:36 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -103,7 +103,7 @@ 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 *,
+ double (*hspan)(const struct termp *,
const struct roffsu *);
const void *argf; /* arg for headf/footf */
union {