=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/term.c,v retrieving revision 1.57 retrieving revision 1.58 diff -u -r1.57 -r1.58 --- src/usr.bin/mandoc/term.c 2011/04/21 22:59:54 1.57 +++ src/usr.bin/mandoc/term.c 2011/04/24 16:22:02 1.58 @@ -1,4 +1,4 @@ -/* $Id: term.c,v 1.57 2011/04/21 22:59:54 schwarze Exp $ */ +/* $Id: term.c,v 1.58 2011/04/24 16:22:02 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * Copyright (c) 2010, 2011 Ingo Schwarze @@ -25,7 +25,6 @@ #include #include "mandoc.h" -#include "chars.h" #include "out.h" #include "term.h" #include "main.h" @@ -453,16 +452,10 @@ void term_word(struct termp *p, const char *word) { - const char *sv, *seq; + const char *seq; size_t ssz; enum roffdeco deco; - sv = word; - - if (DELIM_CLOSE == mandoc_isdelim(word)) - if ( ! (TERMP_IGNDELIM & p->flags)) - p->flags |= TERMP_NOSPACE; - if ( ! (TERMP_NOSPACE & p->flags)) { if ( ! (TERMP_KEEP & p->flags)) { if (TERMP_PREKEEP & p->flags) @@ -523,9 +516,6 @@ if (DECO_NOSPACE == deco && '\0' == *word) p->flags |= TERMP_NOSPACE; } - - if (DELIM_OPEN == mandoc_isdelim(sv)) - p->flags |= TERMP_NOSPACE; }