=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mandoc/mdoc_term.c,v retrieving revision 1.105 retrieving revision 1.106 diff -c -r1.105 -r1.106 *** src/usr.bin/mandoc/mdoc_term.c 2010/09/23 20:39:13 1.105 --- src/usr.bin/mandoc/mdoc_term.c 2010/09/26 18:23:54 1.106 *************** *** 1,4 **** ! /* $Id: mdoc_term.c,v 1.105 2010/09/23 20:39:13 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * Copyright (c) 2010 Ingo Schwarze --- 1,4 ---- ! /* $Id: mdoc_term.c,v 1.106 2010/09/26 18:23:54 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * Copyright (c) 2010 Ingo Schwarze *************** *** 2126,2133 **** /* TODO: %U. */ ! p->flags |= TERMP_NOSPACE; ! term_word(p, n->next ? "," : "."); } --- 2126,2139 ---- /* TODO: %U. */ ! if (NULL == n->parent || MDOC_Rs != n->parent->tok) ! return; ! ! if (NULL == n->next) { ! term_word(p, "."); ! p->flags |= TERMP_SENTENCE; ! } else ! term_word(p, ","); }