From 756bc1418bc14662d5166b584a15d391ce60eeef Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 17 Sep 2014 20:18:58 +0000 Subject: simplify handling of .An -[no]split for terminal output: delete one static function, one flag #define, and 25 lines of code; no functional change --- term.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'term.h') diff --git a/term.h b/term.h index e1eec88d..9c4b431c 100644 --- a/term.h +++ b/term.h @@ -1,4 +1,4 @@ -/* $Id: term.h,v 1.102 2014/09/03 05:22:45 schwarze Exp $ */ +/* $Id: term.h,v 1.103 2014/09/17 20:18:58 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2011, 2012, 2013, 2014 Ingo Schwarze @@ -81,9 +81,8 @@ struct termp { #define TERMP_BRIND (1 << 9) /* See term_flushln(). */ #define TERMP_DANGLE (1 << 10) /* See term_flushln(). */ #define TERMP_HANG (1 << 11) /* See term_flushln(). */ -#define TERMP_NOSPLIT (1 << 12) /* See termp_an_pre/post(). */ -#define TERMP_SPLIT (1 << 13) /* See termp_an_pre/post(). */ -#define TERMP_ANPREC (1 << 14) /* See termp_an_pre(). */ +#define TERMP_NOSPLIT (1 << 12) /* Do not break line before .An. */ +#define TERMP_SPLIT (1 << 13) /* Break line before .An. */ int *buf; /* Output buffer. */ enum termenc enc; /* Type of encoding. */ struct mchars *symtab; /* Encoded-symbol table. */ -- cgit v1.2.3-56-ge451